Package org.jboss.as.server.deployment
Class DeploymentUnitProcessingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jboss.as.server.deployment.DeploymentException
-
- org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
- All Implemented Interfaces:
Serializable
public class DeploymentUnitProcessingException extends DeploymentException
An exception which is thrown when deployment unit processing fails. This can occur as a result of a failure to parse a descriptor, an error transforming a descriptor, an error preparing a deployment item, or other causes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeploymentUnitProcessingException(String msg)Constructs aDeploymentUnitProcessingExceptionwith the specified detail message.DeploymentUnitProcessingException(String msg, Throwable cause)Constructs aDeploymentUnitProcessingExceptionwith the specified detail message and cause.DeploymentUnitProcessingException(Throwable cause)Constructs aDeploymentUnitProcessingExceptionwith 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
-
DeploymentUnitProcessingException
public DeploymentUnitProcessingException(String msg)
Constructs aDeploymentUnitProcessingExceptionwith the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toinitCause.- Parameters:
msg- the detail message
-
DeploymentUnitProcessingException
public DeploymentUnitProcessingException(Throwable cause)
Constructs aDeploymentUnitProcessingExceptionwith 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)
-
DeploymentUnitProcessingException
public DeploymentUnitProcessingException(String msg, Throwable cause)
Constructs aDeploymentUnitProcessingExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the cause (which is saved for later retrieval by theThrowable.getCause()method)
-
-