Top Description Fields Constructors
java.lang

public Class LayerInstantiationException

extends RuntimeException
Class Inheritance

Thrown when creating a module layer fails.
Since
9
See Also
ModuleLayer

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
LayerInstantiationException()

Constructs a LayerInstantiationException with no detail message.

public
LayerInstantiationException(String
The detail message; can be null
msg
)

Constructs a LayerInstantiationException with the given detail message.

public
LayerInstantiationException(Throwable
The cause; can be null
cause
)

Constructs a LayerInstantiationException with the given cause.

public
LayerInstantiationException(String
The detail message; can be null
msg
,
Throwable
The cause; can be null
cause
)

Constructs a LayerInstantiationException with the given detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Annotations
@Serial

Constructor Detail

LayerInstantiationExceptionback to summary
public LayerInstantiationException()

Constructs a LayerInstantiationException with no detail message.

LayerInstantiationExceptionback to summary
public LayerInstantiationException(String msg)

Constructs a LayerInstantiationException with the given detail message.

Parameters
msg:String

The detail message; can be null

LayerInstantiationExceptionback to summary
public LayerInstantiationException(Throwable cause)

Constructs a LayerInstantiationException with the given cause.

Parameters
cause:Throwable

The cause; can be null

LayerInstantiationExceptionback to summary
public LayerInstantiationException(String msg, Throwable cause)

Constructs a LayerInstantiationException with the given detail message and cause.

Parameters
msg:String

The detail message; can be null

cause:Throwable

The cause; can be null