org.ourgrid.common.executor
Class ExecutorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ourgrid.common.exception.OurgridException
              extended by 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

Constructor Summary
ExecutorException()
          Constructor without paramethers
ExecutorException(java.lang.String command)
           
ExecutorException(java.lang.String command, java.lang.Throwable detail)
           
ExecutorException(java.lang.Throwable detail)
           
 
Method Summary
 java.lang.String getMessage()
          Returns the message of this exception
 
Methods inherited from class org.ourgrid.common.exception.OurgridException
getStackTrace, printStackTrace, printStackTrace, printStackTrace
 
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
 

Constructor Detail

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
Method Detail

getMessage

public java.lang.String getMessage()
Returns the message of this exception

Overrides:
getMessage in class OurgridException
Returns:
The message