com.aranai.dungeonator.datastore
Class DataStoreDeleteException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.aranai.dungeonator.datastore.DataStoreException
              extended by com.aranai.dungeonator.datastore.DataStoreDeleteException
All Implemented Interfaces:
java.io.Serializable

public class DataStoreDeleteException
extends DataStoreException

A DataStoreDeleteException is thrown when a data storage delete operation fails. The exception includes details on the failure reason and the data used in the unsuccessful operation.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          The Constant serialVersionUID.
 
Constructor Summary
DataStoreDeleteException()
          Instantiates a new delete exception with default entries.
DataStoreDeleteException(java.lang.String reason, java.lang.String deleteLocation)
          Instantiates a new delete exception with a specified reason for failure and the delete location at which the failure occurred.
 
Method Summary
 
Methods inherited from class com.aranai.dungeonator.datastore.DataStoreException
getLocation, getReason
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The Constant serialVersionUID.

See Also:
Constant Field Values
Constructor Detail

DataStoreDeleteException

public DataStoreDeleteException()
Instantiates a new delete exception with default entries.


DataStoreDeleteException

public DataStoreDeleteException(java.lang.String reason,
                                java.lang.String deleteLocation)
Instantiates a new delete exception with a specified reason for failure and the delete location at which the failure occurred.

Parameters:
reason - the reason for failure
saveLocation - the delete location