Package org.jboss.as.server.deployment
Class DeploymentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jboss.as.server.deployment.DeploymentException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DeploymentUnitProcessingException
A general/parent exception for all deployment related exceptions.
- Author:
- John E. Bailey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aDeploymentUnitProcessingExceptionwith no detail message.Constructs aDeploymentExceptionwith the specified detail message.DeploymentException(String msg, Throwable cause) Constructs aDeploymentExceptionwith the specified detail message and cause.DeploymentException(Throwable cause) Constructs aDeploymentExceptionwith the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DeploymentException
public DeploymentException()Constructs aDeploymentUnitProcessingExceptionwith no detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause. -
DeploymentException
Constructs aDeploymentExceptionwith the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause.- Parameters:
msg- the detail message
-
DeploymentException
Constructs aDeploymentExceptionwith the specified cause. The detail message is set to:(cause == null ? null : cause.toString())
(which typically contains the class and detail message ofcause).- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-
DeploymentException
Constructs aDeploymentExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-