org.ourgrid.common.exception
Class UnableToCreateStorageException

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.common.exception.UnableToCreateStorageException
All Implemented Interfaces:
java.io.Serializable

public class UnableToCreateStorageException
extends FailCauseException

Signals that the creation of Storage Directory was not possible due to some problem. The Storage Directory is supposed to be a shared area among the Tasks and Jobs. The idea is to allow Jobs to reuse data used/generated for Jobs which ran before. Possible problems related to the creation of Storage Directory are:

See Also:
Serialized Form

Constructor Summary
UnableToCreateStorageException()
          Constructs an instance of UnableToCreateStorageException without any special description.
UnableToCreateStorageException(java.lang.String message, java.lang.Throwable newDetail)
          Constructs an instance of UnableCreateStorageException using the descriptions provided by the Throwable object and the additional message.
UnableToCreateStorageException(java.lang.Throwable newDetail)
          Constructs an instance of UnableCreateStorageException using the descriptions provided by the Throwable object.
 
Method Summary
 java.lang.String getSimpleMessage()
          Used to acquire a simple message determining the fail cause.
 
Methods inherited from class org.ourgrid.common.exception.OurgridException
getMessage, 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

UnableToCreateStorageException

public UnableToCreateStorageException()
Constructs an instance of UnableToCreateStorageException without any special description.


UnableToCreateStorageException

public UnableToCreateStorageException(java.lang.Throwable newDetail)
Constructs an instance of UnableCreateStorageException using the descriptions provided by the Throwable object.

Parameters:
newDetail - An object of an implementor of Throwable interface that contains details about the exception.

UnableToCreateStorageException

public UnableToCreateStorageException(java.lang.String message,
                                      java.lang.Throwable newDetail)
Constructs an instance of UnableCreateStorageException using the descriptions provided by the Throwable object and the additional message.

Parameters:
message - The additional message about the problem occured during the Storage creation.
newDetail - The object that contains the details about the exception.
Method Detail

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.