当前页面:
在线文档首页 >
JBoss 3.2.7 system API Documentation 英文版文档
DeploymentException (JBoss System API) - JBoss 3.2.7 system API Documentation 英文版文档
org.jboss.deployment
Class DeploymentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jboss.util.NestedException
org.jboss.deployment.DeploymentException
- All Implemented Interfaces:
- org.jboss.util.NestedThrowable, Serializable
- Direct Known Subclasses:
- IncompleteDeploymentException
- public class DeploymentException
- extends org.jboss.util.NestedException
Thrown by a deployer if an application component could not be
deployed.
- Version:
- $Revision: 1.1.4.1 $
- Author:
- Toby Allsopp
- See Also:
DeployerMBean
,
Serialized Form
Nested classes inherited from class org.jboss.util.NestedThrowable |
org.jboss.util.NestedThrowable.Util |
Fields inherited from class org.jboss.util.NestedException |
nested |
Fields inherited from interface org.jboss.util.NestedThrowable |
DETECT_DUPLICATE_NESTING, NESTED_TRACE_ENABLED, PARENT_TRACE_ENABLED |
Methods inherited from class org.jboss.util.NestedException |
getCause, getMessage, getNested, printStackTrace, printStackTrace, printStackTrace |
DeploymentException
public DeploymentException(String msg)
- Construct a DeploymentException with the specified detail
message.
- Parameters:
msg
- Detail message.
DeploymentException
public DeploymentException(String msg,
Throwable nested)
- Construct a DeploymentException with the specified detail
message and nested Throwable.
- Parameters:
msg
- Detail message.nested
- Nested Throwable.
DeploymentException
public DeploymentException(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(String message,
Throwable t)
throws DeploymentException
- Rethrow a throwable as a deployment exception if it isn't already.
- Parameters:
message
- the messaget
- the throwable
- Throws:
a
- DeploymentException
DeploymentException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.