org.jboss.deployment
Class DeploymentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jboss.util.NestedException (src)
org.jboss.deployment.DeploymentException
- All Implemented Interfaces:
- NestedThrowable (src) , java.io.Serializable
- Direct Known Subclasses:
- IncompleteDeploymentException (src)
- public class DeploymentException
- extends NestedException (src)
Thrown by a deployer if an application component could not be
deployed.
- See Also:
DeployerMBean
,
Serialized Form
Constructor Summary |
DeploymentException()
Construct a DeploymentException with no detail. |
DeploymentException(java.lang.String msg)
Construct a DeploymentException with the specified detail
message. |
DeploymentException(java.lang.String msg,
java.lang.Throwable nested)
Construct a DeploymentException with the specified detail
message and nested Throwable. |
DeploymentException(java.lang.Throwable nested)
Construct a DeploymentException with the specified
nested Throwable. |
Method Summary |
static void |
rethrowAsDeploymentException(java.lang.String message,
java.lang.Throwable t)
Rethrow a throwable as a deployment exception if it isn't already. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DeploymentException
public DeploymentException(java.lang.String msg)
- Construct a DeploymentException with the specified detail
message.
- Parameters:
msg
- Detail message.
DeploymentException
public DeploymentException(java.lang.String msg,
java.lang.Throwable nested)
- Construct a DeploymentException with the specified detail
message and nested Throwable.
- Parameters:
msg
- Detail message.nested
- Nested Throwable.
DeploymentException
public DeploymentException(java.lang.Throwable nested)
- Construct a DeploymentException with the specified
nested Throwable.
- Parameters:
nested
- Nested Throwable.
DeploymentException
public DeploymentException()
- Construct a DeploymentException with no detail.
rethrowAsDeploymentException
public static void rethrowAsDeploymentException(java.lang.String message,
java.lang.Throwable t)
throws DeploymentException (src)
- Rethrow a throwable as a deployment exception if it isn't already.
- Parameters:
message
- the messaget
- the throwable
- Throws:
a
- DeploymentException
DeploymentException (src)