|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jboss.deployers.spi.DeploymentException
public class DeploymentException
DeploymentException.
Constructor Summary | |
---|---|
DeploymentException()
Constructs a DeploymentException with null
as its error detail message. |
|
DeploymentException(String s)
Constructs a DeploymentException with the specified detail
message. |
|
DeploymentException(String s,
Throwable cause)
Constructs a DeploymentException with the specified detail message and
cause. |
|
DeploymentException(Throwable cause)
Constructs a DeploymentException with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause). |
Method Summary | |
---|---|
static DeploymentException |
rethrowAsDeploymentException(String message,
Throwable t)
Rethrow a throwable as a deployment exception if it isn't already. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeploymentException()
DeploymentException
with null
as its error detail message.
public DeploymentException(String s)
DeploymentException
with the specified detail
message. The error message string s
can later be
retrieved by the Throwable.getMessage()
method of class java.lang.Throwable
.
s
- the messagepublic DeploymentException(String s, Throwable cause)
DeploymentException
with the specified detail message and
cause. Note that the detail message associated with
cause
is not automatically incorporated in
this exception's detail message.
s
- the messagecause
- the underlying causepublic DeploymentException(Throwable cause)
DeploymentException
with the specified cause and a detail
message of (cause==null ? null : cause.toString()) (which
typically contains the class and detail message of cause).
This constructor is useful for exceptions that are little more than
wrappers for other throwables (for example, PrivilegedActionException
).
cause
- the underlying causeMethod Detail |
---|
public static DeploymentException rethrowAsDeploymentException(String message, Throwable t) throws DeploymentException
message
- the messaget
- the throwable
DeploymentException
- always
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |