Класс 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, 2023, 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/21/docs/api/java.base/java/lang/LayerInstantiationException.html