01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17:
18: package javax.naming.directory;
19:
20: import javax.naming.NamingException;
21:
22: /**
23: * Thrown when an attempt is made to set attributes that are invalid for the
24: * entry they are being targeted.
25: * <p>
26: * Examples include schema restrictions for attributes such as specific values
27: * required, attributes that must be set exclusively of others, and so on.
28: * </p>
29: * <p>
30: * The list of invalid cases is defined by the directory service provider.
31: * </p>
32: *
33: * @see NamingException
34: */
35: public class InvalidAttributesException extends NamingException {
36:
37: private static final long serialVersionUID = 0x24301a12642c8465L;
38:
39: /**
40: * Default constructor.
41: * <p>
42: * All fields are initialized to null.
43: * </p>
44: */
45: public InvalidAttributesException() {
46: super ();
47: }
48:
49: /**
50: * Constructs an <code>InvalidAttributesException</code> instance using
51: * the supplied text of the message.
52: * <p>
53: * All fields are initialized to null.
54: * </p>
55: *
56: * @param s
57: * message about the problem
58: */
59: public InvalidAttributesException(String s) {
60: super(s);
61: }
62:
63: }
|