Top Description Fields Constructors Methods
org.jboss.modules

public Class ModuleLoadError

extends Error
Class Inheritance

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

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ModuleLoadError()

Constructs a ModuleLoadException with no detail message.

public
ModuleLoadError(final String
the detail message
msg
)

Constructs a ModuleLoadException with the specified detail message.

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

Constructs a ModuleLoadException with the specified cause.

public
ModuleLoadError(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 ModuleLoadException

Returns:

the checked exception
toException
()

Convert to a checked exception type.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Error.serialVersionUID.

Constructor Detail

ModuleLoadErrorback to summary
public ModuleLoadError()

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

ModuleLoadErrorback to summary
public ModuleLoadError(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

ModuleLoadErrorback to summary
public ModuleLoadError(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)

ModuleLoadErrorback to summary
public ModuleLoadError(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

toExceptionback to summary
public ModuleLoadException toException()

Convert to a checked exception type.

Returns:ModuleLoadException

the checked exception