Класс AttributeInUseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.naming.NamingException
-
- javax.naming.directory.AttributeInUseException
- Все реализуемые интерфейсы:
Serializable
public class AttributeInUseException extends NamingException
Этот исключение возникает, когда операция пытается добавить атрибут, который уже существует.
Вопросы синхронизации и сериализации, применимые к NamingException, непосредственно применяются и здесь.
- С:
- 1.3
- См. также:
-
DirContext.modifyAttributes(javax.naming.Name, int, javax.naming.directory.Attributes), Сериализованная форма
Поля
Поля, объявленные в классе javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
Конструкторы
| Конструктор | Описание |
|---|---|
AttributeInUseException() |
Создает новый экземпляр AttributeInUseException. |
AttributeInUseException(String explanation) |
Создает новый экземпляр AttributeInUseException с объяснением. |
Методы
Методы, объявленные в классе javax.naming.NamingException
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
Методы, объявленные в классе java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
Методы, объявленные в классе java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Конструкторы
AttributeInUseException
public AttributeInUseException(String explanation)
Создает новый экземпляр AttributeInUseException с объяснением. Все другие поля установлены в null.
- Параметры:
-
explanation- Возможно null дополнительная информация об этом исключении. - См. также:
Throwable.getMessage()
AttributeInUseException
public AttributeInUseException()
Создает новый экземпляр AttributeInUseException. Все поля инициализированы null.
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.naming/javax/naming/directory/AttributeInUseException.html