TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.core
Class ExecutionComponentStateException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.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
clone, equals, finalize, 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()
Returns:
a Throwable that represents the underlying cause of this exception having been thrown

TPTP 4.1.0 Platform Project
Public API Specification