org.ourgrid.gridmachine.exception
Class UnableToExecuteException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ourgrid.common.exception.OurgridException
              extended by org.ourgrid.gridmachine.exception.FailCauseException
                  extended by org.ourgrid.gridmachine.exception.UnableToExecuteException
All Implemented Interfaces:
java.io.Serializable

public class UnableToExecuteException
extends FailCauseException

See Also:
Serialized Form

Constructor Summary
UnableToExecuteException(java.lang.String gridMachineID, java.lang.String command)
           
UnableToExecuteException(java.lang.String gridMachineName, java.lang.Throwable detail)
           
UnableToExecuteException(java.lang.String gridMachineID, java.lang.Throwable detail, java.lang.String command)
           
 
Method Summary
 java.lang.String getMessage()
          Returns the exception message.
 java.lang.String getSimpleMessage()
          Used to acquire a simple message determining the fail cause.
 
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

UnableToExecuteException

public UnableToExecuteException(java.lang.String gridMachineID,
                                java.lang.Throwable detail,
                                java.lang.String command)

UnableToExecuteException

public UnableToExecuteException(java.lang.String gridMachineID,
                                java.lang.String command)

UnableToExecuteException

public UnableToExecuteException(java.lang.String gridMachineName,
                                java.lang.Throwable detail)
Method Detail

getMessage

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

Overrides:
getMessage in class OurgridException
Returns:
The message of this excpetion

getSimpleMessage

public java.lang.String getSimpleMessage()
Description copied from class: FailCauseException
Used to acquire a simple message determining the fail cause.

Specified by:
getSimpleMessage in class FailCauseException
Returns:
String with the cause.