- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.LayerInstantiationException
-
- All Implemented Interfaces:
-
Serializable
public class LayerInstantiationException extends RuntimeException
创建module layer时抛出失败。- 从以下版本开始:
- 9
- 另请参见:
-
ModuleLayer
, Serialized Form
-
-
构造方法摘要
构造方法 Constructor 描述 LayerInstantiationException()
构造一个LayerInstantiationException
,没有详细信息。LayerInstantiationException(String msg)
构造具有给定详细信息的LayerInstantiationException
。LayerInstantiationException(String msg, Throwable cause)
构造一个LayerInstantiationException
与给定的详细信息和原因。LayerInstantiationException(Throwable cause)
构造一个LayerInstantiationException
与给定的原因。
-
方法摘要
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class 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
-
-