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