com.aranai.dungeonator.datastore
Class DataStoreGetException

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

public class DataStoreGetException
extends DataStoreException

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

DataStoreGetException

public DataStoreGetException()
Instantiates a new get exception with default entries.


DataStoreGetException

public DataStoreGetException(java.lang.String reason,
                             java.lang.String getLocation)
Instantiates a new get exception with a specified reason for failure and the get location at which the failure occurred.

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