org.jboss.testharness.api
Class DeploymentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jboss.testharness.api.DeploymentException
All Implemented Interfaces:
java.io.Serializable

public class DeploymentException
extends java.lang.Exception

Wraps the deployment exception, which can be obtained using Throwable.getCause() also providing contextual information on the deployment

Author:
Pete Muir
See Also:
Serialized Form

Constructor Summary
DeploymentException(DeploymentException deploymentException, java.lang.Throwable cause)
           
DeploymentException(java.lang.String name)
           
DeploymentException(java.lang.String name, java.lang.String message)
           
DeploymentException(java.lang.String name, java.lang.String message, java.lang.Throwable cause)
           
DeploymentException(java.lang.String name, java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getName()
          Get the deployment identifier
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeploymentException

public DeploymentException(java.lang.String name)

DeploymentException

public DeploymentException(java.lang.String name,
                           java.lang.String message,
                           java.lang.Throwable cause)

DeploymentException

public DeploymentException(java.lang.String name,
                           java.lang.String message)

DeploymentException

public DeploymentException(java.lang.String name,
                           java.lang.Throwable cause)

DeploymentException

public DeploymentException(DeploymentException deploymentException,
                           java.lang.Throwable cause)
Method Detail

getName

public java.lang.String getName()
Get the deployment identifier

Returns:
the name


Copyright © 2009. All Rights Reserved.