com.aranai.dungeonator.datastore
Class DataStoreSaveException

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

public class DataStoreSaveException
extends DataStoreException

A SaveException is thrown when a data storage save 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
DataStoreSaveException()
          Instantiates a new save exception with default entries.
DataStoreSaveException(java.lang.String reason, java.lang.String saveLocation)
          Instantiates a new save exception with a specified reason for failure and the save 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

DataStoreSaveException

public DataStoreSaveException()
Instantiates a new save exception with default entries.


DataStoreSaveException

public DataStoreSaveException(java.lang.String reason,
                              java.lang.String saveLocation)
Instantiates a new save exception with a specified reason for failure and the save location at which the failure occurred.

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