TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.core
Class ExecutionComponentStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.hyades.execution.core.ExecutionComponentStateException
All Implemented Interfaces:
java.io.Serializable

public class ExecutionComponentStateException
extends java.lang.RuntimeException

A ExecutionComponentStateException is thrown by any IExecutionComponent operation that occurs when the IExecutionComponent is not in the correct state to support the current operation.

See Also:
Serialized Form

Constructor Summary
ExecutionComponentStateException(int state, java.lang.String message)
           
ExecutionComponentStateException(int state, java.lang.String message, java.lang.Throwable cause)
           
ExecutionComponentStateException(int state, java.lang.Throwable cause)
           
 
Method Summary
 java.lang.Throwable getCause()
           
 int getState()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExecutionComponentStateException

public ExecutionComponentStateException(int state,
                                        java.lang.String message)
Parameters:
state - the state of the exception
message - a description of the condition that caused this exception to be thrown

ExecutionComponentStateException

public ExecutionComponentStateException(int state,
                                        java.lang.String message,
                                        java.lang.Throwable cause)
Parameters:
state - the state of the exception
message - a description of the condition that caused this exception to be thrown
cause - a Throwable that represents the underlying cause of this exception having been thrown

ExecutionComponentStateException

public ExecutionComponentStateException(int state,
                                        java.lang.Throwable cause)
Parameters:
state - the state of the exception
cause - a Throwable that represents the underlying cause of this exception having been thrown
Method Detail

getState

public int getState()
Returns:
The state of the exception

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable
Returns:
a Throwable that represents the underlying cause of this exception having been thrown

TPTP 4.5.0 Platform Project
Public API Specification