Класс LayerInstantiationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.LayerInstantiationException
- Все реализованные интерфейсы:
Serializable
public class LayerInstantiationException extends RuntimeException
Выбрасывается, когда создание слоя модуля завершается с ошибкой.
- С момента:
- 9
- См. также:
Краткое описание конструкторов
| Конструктор | Описание |
|---|---|
LayerInstantiationException() |
Создаёт LayerInstantiationException без сообщения об ошибке. |
LayerInstantiationException |
Создаёт LayerInstantiationException с указанным сообщением об ошибке. |
LayerInstantiationException |
Создаёт LayerInstantiationException с указанным сообщением об ошибке и причиной. |
LayerInstantiationException |
Создаёт LayerInstantiationException с указанной причиной. |
Краткое описание методов
Методы, объявленные в классе java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Подробное описание конструкторов
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