Serializable
ModuleNotFoundException
public class ModuleLoadException extends Exception
Constructor | Description |
---|---|
ModuleLoadException() |
Constructs a
ModuleLoadException with no detail message. |
ModuleLoadException(String msg) |
Constructs a
ModuleLoadException with the specified detail message. |
ModuleLoadException(String msg,
Throwable cause) |
Constructs a
ModuleLoadException with the specified detail message and cause. |
ModuleLoadException(Throwable cause) |
Constructs a
ModuleLoadException with the specified cause. |
Modifier and Type | Method | Description |
---|---|---|
ModuleLoadError |
toError() |
Convert to an unchecked error type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ModuleLoadException()
ModuleLoadException
with no detail message. The cause is not initialized, and may subsequently
be initialized by a call to initCause
.public ModuleLoadException(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 ModuleLoadException(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 ModuleLoadException(String msg, 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 ModuleLoadError toError()
Copyright © 2022 JBoss by Red Hat. All rights reserved.