ModuleNotFoundException
public class ModuleLoadException
extends java.lang.Exception
Constructor | Description |
---|---|
ModuleLoadException() |
Constructs a
ModuleLoadException with no detail message. |
ModuleLoadException(java.lang.String msg) |
Constructs a
ModuleLoadException with the specified detail message. |
ModuleLoadException(java.lang.String msg,
java.lang.Throwable cause) |
Constructs a
ModuleLoadException with the specified detail message and cause. |
ModuleLoadException(java.lang.Throwable cause) |
Constructs a
ModuleLoadException with the specified cause. |
Modifier and Type | Method | Description |
---|---|---|
ModuleLoadError |
toError() |
Convert to an unchecked error type.
|
public ModuleLoadException()
ModuleLoadException
with no detail message. The cause is not initialized, and may subsequently
be initialized by a call to initCause
.public ModuleLoadException(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 ModuleLoadException(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 ModuleLoadException(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 ModuleLoadError toError()
Copyright © 2022 JBoss by Red Hat. All rights reserved.