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
public class DeploymentException extends Exception
A general/parent exception for all deployment related exceptions.- Author:
- John E. Bailey
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeploymentException()Constructs aDeploymentUnitProcessingExceptionwith no detail message.DeploymentException(String msg)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 Detail
-
DeploymentException
public DeploymentException()
Constructs aDeploymentUnitProcessingExceptionwith no detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause.
-
DeploymentException
public DeploymentException(String msg)
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
public DeploymentException(Throwable cause)
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
public DeploymentException(String msg, Throwable cause)
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)
-
-