org.liquidsite.core.content
Class ContentException

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

public class ContentException
extends java.lang.Exception

A content exception. This exception is thrown when the database content objects couldn't be read or written.

See Also:
Serialized Form

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

ContentException

public ContentException(java.lang.String message)
Creates a new content exception.

Parameters:
message - the error message

ContentException

public ContentException(java.lang.Exception cause)
Creates a new content exception.

Parameters:
cause - the root cause to the error

ContentException

public ContentException(java.lang.String message,
                        java.lang.Exception cause)
Creates a new content exception.

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