org.ow2.jasmine.jade.fractal.julia.control.deployment
Class ChainedUndeploymentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.objectweb.fractal.deployment.local.api.UndeploymentException
              extended by org.ow2.jasmine.jade.fractal.julia.control.deployment.ChainedUndeploymentException
All Implemented Interfaces:
java.io.Serializable

public class ChainedUndeploymentException
extends org.objectweb.fractal.deployment.local.api.UndeploymentException

A sub class of the UndeploymentException class.

Author:
Julien Legrand
See Also:
Serialized Form

Constructor Summary
ChainedUndeploymentException(java.lang.Throwable exception, org.objectweb.fractal.api.Component component, java.lang.String message)
          Constructs a new ChainedUndeploymentException exception.
 
Method Summary
 org.objectweb.fractal.api.Component getComponent()
          Returns the undeployable component.
 java.lang.Throwable getException()
          Returns the exception that caused in this exception.
 void printStackTrace()
          Prints the stack backtrace.
 void printStackTrace(java.io.PrintStream s)
          Prints this exception and its backtrace to the specified print stream.
 void printStackTrace(java.io.PrintWriter s)
          Prints this exception and its backtrace to the specified print writer.
 java.lang.String toString()
          Returns a String representation of this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChainedUndeploymentException

public ChainedUndeploymentException(java.lang.Throwable exception,
                                    org.objectweb.fractal.api.Component component,
                                    java.lang.String message)
Constructs a new ChainedUndeploymentException exception.

Parameters:
exception - the cause of this exception. May be null.
component - the component undeployable.
message - a detailed error message.
Method Detail

getException

public java.lang.Throwable getException()
Returns the exception that caused in this exception.

Returns:
the exception that caused this exception. May be null.

getComponent

public org.objectweb.fractal.api.Component getComponent()
Returns the undeployable component.

Returns:
the undeployable component.

toString

public java.lang.String toString()
Returns a String representation of this exception.

Overrides:
toString in class java.lang.Throwable
Returns:
a String representation of this exception.

printStackTrace

public void printStackTrace()
Prints the stack backtrace.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Prints this exception and its backtrace to the specified print stream.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
s - PrintStream to use for output.

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Prints this exception and its backtrace to the specified print writer.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
s - PrintWriter to use for output.


Copyright © 2008 OW2 Consortium. All Rights Reserved.