com.heckmansoft.surjey.model.datastore
Class DatastoreException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.heckmansoft.surjey.model.datastore.DatastoreException
All Implemented Interfaces:
java.io.Serializable

public class DatastoreException
extends java.lang.Exception

Exception thrown by a Datastore when access/update of data store causes an exception. Wraps the relevant exception.

See Also:
Serialized Form

Constructor Summary
DatastoreException(java.sql.SQLException cause)
          Constructor.
DatastoreException(java.lang.String message)
          Constructor.
DatastoreException(java.lang.Throwable cause)
          Constructor.
 
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
 

Constructor Detail

DatastoreException

public DatastoreException(java.sql.SQLException cause)
Constructor.

Parameters:
cause - The cause of the exception.

DatastoreException

public DatastoreException(java.lang.Throwable cause)
Constructor.

Parameters:
cause - The cause of the exception.

DatastoreException

public DatastoreException(java.lang.String message)
Constructor.

Parameters:
message - The message to use in the exception