Класс NoSuchAttributeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.naming.NamingException
-
- javax.naming.directory.NoSuchAttributeException
- Все реализованные интерфейсы:
- Serializable
public class NoSuchAttributeException extends NamingException
Данное исключение возникает при попытке доступа к атрибуту, которого не существует.
Проблемы синхронизации и сериализации, применимые к NamingException, напрямую применяются и здесь.
- С момента:
- 1.3
- См. также:
- Сериализованная форма
Поля
Поля, унаследованные от класса javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException Конструкторы
| Конструктор и описание |
|---|
NoSuchAttributeException() Создает новый экземпляр NoSuchAttributeException. |
NoSuchAttributeException(String explanation) Создает новый экземпляр NoSuchAttributeException с пояснением. |
Методы
Методы, унаследованные от класса 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 Конструкторы
NoSuchAttributeException
public NoSuchAttributeException(String explanation)
Создает новый экземпляр NoSuchAttributeException с пояснением. Все остальные поля установлены в null.
- Параметры:
-
explanation- Дополнительные сведения об этом исключении. Может быть null. - См. также:
Throwable.getMessage()
NoSuchAttributeException
public NoSuchAttributeException()
Создает новый экземпляр NoSuchAttributeException. Все поля инициализированы 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.