org.ourgrid.common.executor
Class ExecutorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ourgrid.common.exception.OurgridException
org.ourgrid.common.executor.ExecutorException
- All Implemented Interfaces:
- java.io.Serializable
public class ExecutorException
- extends OurgridException
This exception must be used to signalize an execution problem, found by the
implementors of org.ourgrid.common.executor.Executor interface
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getMessage()
Returns the message of this exception |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExecutorException
public ExecutorException()
- Constructor without paramethers
ExecutorException
public ExecutorException(java.lang.String command)
- Parameters:
command
- The command in which execution the Executor failed. It
will be used to compose better this getMessage method.
ExecutorException
public ExecutorException(java.lang.String command,
java.lang.Throwable detail)
- Parameters:
command
- The command in which execution the Executor failed. It
will be used to compose better this getMessage method.detail
- an object that specifies the exception details
ExecutorException
public ExecutorException(java.lang.Throwable detail)
- Parameters:
detail
- an object that specifies the exception details
getMessage
public java.lang.String getMessage()
- Returns the message of this exception
- Overrides:
getMessage
in class OurgridException
- Returns:
- The message