站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 system API Documentation 英文版文档

DeploymentException (JBoss System API) - JBoss 4.0.1 sp1 system API Documentation 英文版文档


org.jboss.deployment
Class DeploymentException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jboss.util.NestedException
              extended byorg.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.2 $
Author:
Toby Allsopp
See Also:
DeployerMBean, Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jboss.util.NestedThrowable
org.jboss.util.NestedThrowable.Util
 
Field Summary
 
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
 
Constructor Summary
DeploymentException()
          Construct a DeploymentException with no detail.
DeploymentException(String msg)
          Construct a DeploymentException with the specified detail message.
DeploymentException(String msg, Throwable nested)
          Construct a DeploymentException with the specified detail message and nested Throwable.
DeploymentException(Throwable nested)
          Construct a DeploymentException with the specified nested Throwable.
 
Method Summary
static void rethrowAsDeploymentException(String message, Throwable t)
          Rethrow a throwable as a deployment exception if it isn't already.
 
Methods inherited from class org.jboss.util.NestedException
getCause, getMessage, getNested, printStackTrace, printStackTrace, printStackTrace
 
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
 

Constructor Detail

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.

Method 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 message
t - the throwable
Throws:
a - DeploymentException
DeploymentException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.