org.liquidsite.core.data
Class DataObjectException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.liquidsite.core.data.DataObjectException
All Implemented Interfaces:
java.io.Serializable

public class DataObjectException
extends java.lang.Exception

A data object exception. This exception is thrown when the data objects couldn't be read from or written to the data source (i.e. the database).

See Also:
Serialized Form

Constructor Summary
DataObjectException(java.lang.Exception cause)
          Creates a new data object exception.
DataObjectException(java.lang.String message)
          Creates a new data object exception.
DataObjectException(java.lang.String message, java.lang.Exception cause)
          Creates a new data object exception.
 
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

DataObjectException

public DataObjectException(java.lang.String message)
Creates a new data object exception.

Parameters:
message - the error message

DataObjectException

public DataObjectException(java.lang.Exception cause)
Creates a new data object exception.

Parameters:
cause - the root cause to the error

DataObjectException

public DataObjectException(java.lang.String message,
                           java.lang.Exception cause)
Creates a new data object exception.

Parameters:
message - the error message
cause - the root cause to the error