Spec-Zone.ru › OpenJDK 8

Класс 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 - Возможно, дополнительная информация об этом исключении.
См. также:
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.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API