Top Description Fields Constructors Methods
org.jboss.modules

public Class ModuleLoadException

extends Exception
Class Inheritance
Known Direct Subclasses
org.jboss.modules.ModuleNotFoundException

Module load exception, thrown when there is some problem loading a module.
Author
David M. Lloyd

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ModuleLoadException()

Constructs a ModuleLoadException with no detail message.

public
ModuleLoadException(final String
the detail message
msg
)

Constructs a ModuleLoadException with the specified detail message.

public
ModuleLoadException(final Throwable
the cause (which is saved for later retrieval by the getCause() method)
cause
)

Constructs a ModuleLoadException with the specified cause.

public
ModuleLoadException(final String
the detail message
msg
,
final Throwable
the cause (which is saved for later retrieval by the getCause() method)
cause
)

Constructs a ModuleLoadException with the specified detail message and cause.

Method Summary

Modifier and TypeMethod and Description
public ModuleLoadError

Returns:

the unchecked error
toError
()

Convert to an unchecked error type.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Constructor Detail

ModuleLoadExceptionback to summary
public ModuleLoadException()

Constructs a ModuleLoadException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.

ModuleLoadExceptionback to summary
public ModuleLoadException(final String msg)

Constructs a ModuleLoadException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.

Parameters
msg:String

the detail message

ModuleLoadExceptionback to summary
public ModuleLoadException(final Throwable cause)

Constructs a 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).
Parameters
cause:Throwable

the cause (which is saved for later retrieval by the getCause() method)

ModuleLoadExceptionback to summary
public ModuleLoadException(final String msg, final Throwable cause)

Constructs a ModuleLoadException with the specified detail message and cause.

Parameters
msg:String

the detail message

cause:Throwable

the cause (which is saved for later retrieval by the getCause() method)

Method Detail

toErrorback to summary
public ModuleLoadError toError()

Convert to an unchecked error type.

Returns:ModuleLoadError

the unchecked error