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 the identifier part of an attribute is invalid.
24: * <p>
25: * Directory service providers may restrict the characteristics of the attribute
26: * identifier. If an attempt is made to set the attribute with an invalid
27: * attribute the provider will throw an
28: * <code>InvalidAttributeIdentifierException</code>.
29: * </p>
30: */
31: public class InvalidAttributeIdentifierException extends
32: NamingException {
33:
34: private static final long serialVersionUID = 0x829668e5be4a058dL;
35:
36: /**
37: * Default constructor.
38: * <p>
39: * All fields are initialized to null.
40: * </p>
41: */
42: public InvalidAttributeIdentifierException() {
43: super ();
44: }
45:
46: /**
47: * Constructs an <code>InvalidAttributeIdentifierException</code> instance
48: * using the supplied text of the message.
49: * <p>
50: * All fields are initialized to null.
51: * </p>
52: *
53: * @param s
54: * message about the problem
55: */
56: public InvalidAttributeIdentifierException(String s) {
57: super(s);
58: }
59:
60: }
|