Spec-Zone.ru › OpenJDK 17

Класс LayerInstantiationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.LayerInstantiationException
Все реализованные интерфейсы:
Serializable
public class LayerInstantiationException extends RuntimeException
Выбрасывается, когда создание слоя модуля завершается с ошибкой.
С момента:
9
См. также:
  • ModuleLayer
  • Сериализованная форма

Краткое описание конструкторов

Конструктор Описание
LayerInstantiationException()
Создаёт LayerInstantiationException без сообщения об ошибке.
LayerInstantiationException(String msg)
Создаёт LayerInstantiationException с указанным сообщением об ошибке.
LayerInstantiationException(String msg, Throwable cause)
Создаёт LayerInstantiationException с указанным сообщением об ошибке и причиной.
LayerInstantiationException(Throwable cause)
Создаёт LayerInstantiationException с указанной причиной.

Краткое описание методов

Методы, объявленные в классе java.lang.Throwable

addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

Методы, объявленные в классе java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Подробное описание конструкторов

LayerInstantiationException

public LayerInstantiationException()
Создаёт LayerInstantiationException без сообщения об ошибке.

LayerInstantiationException

public LayerInstantiationException(String msg)
Создаёт LayerInstantiationException с указанным сообщением об ошибке.
Параметры:
msg - Сообщение об ошибке; может быть null

LayerInstantiationException

public LayerInstantiationException(Throwable cause)
Создаёт LayerInstantiationException с указанной причиной.
Параметры:
cause - Причина; может быть null

LayerInstantiationException

public LayerInstantiationException(String msg, Throwable cause)
Создаёт LayerInstantiationException с указанным сообщением об ошибке и причиной.
Параметры:
msg - Сообщение об ошибке; может быть null
cause - Причина; может быть null

© 1993, 2021, 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/17/docs/api/java.base/java/lang/LayerInstantiationException.html

Spec-Zone.ru

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