org.eclipse.hyades.execution.core
Class ExecutionComponentStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
| 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 |
ExecutionComponentStateException
public ExecutionComponentStateException(int state,
java.lang.String message)
- Parameters:
state - the state of the exceptionmessage - 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 exceptionmessage - a description of the condition that caused this exception to
be throwncause - 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 exceptioncause - a Throwable that represents the underlying
cause of this exception having been thrown
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