public class ModuleLoadError
extends java.lang.Error
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
ModuleLoadError()
Constructs a
ModuleLoadException with no detail message. |
ModuleLoadError(java.lang.String msg)
Constructs a
ModuleLoadException with the specified detail message. |
ModuleLoadError(java.lang.String msg,
java.lang.Throwable cause)
Constructs a
ModuleLoadException with the specified detail message and cause. |
ModuleLoadError(java.lang.Throwable cause)
Constructs a
ModuleLoadException with the specified cause. |
| Modifier and Type | Method and Description |
|---|---|
ModuleLoadException |
toException()
Convert to a checked exception type.
|
private static final long serialVersionUID
public ModuleLoadError()
ModuleLoadException with no detail message. The cause is not initialized, and may subsequently
be initialized by a call to initCause.public ModuleLoadError(java.lang.String msg)
ModuleLoadException with the specified detail message. The cause is not initialized, and may
subsequently be initialized by a call to initCause.msg - the detail messagepublic ModuleLoadError(java.lang.Throwable cause)
ModuleLoadException with the specified cause. The detail message is set to:
(cause == null ? null : cause.toString())(which typically contains the class and detail message of
cause).cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)public ModuleLoadError(java.lang.String msg,
java.lang.Throwable cause)
ModuleLoadException with the specified detail message and cause.msg - the detail messagecause - the cause (which is saved for later retrieval by the Throwable.getCause() method)public ModuleLoadException toException()