org.jtheque.utils
Class DatabaseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jtheque.utils.DatabaseException
All Implemented Interfaces:
Serializable

public final class DatabaseException
extends Exception

A database exception. It seems an error who occurs when a problem appear during a database manipulation.

Author:
Baptiste Wicht
See Also:
Serialized Form

Constructor Summary
DatabaseException(String message, Throwable e)
          Construct a DatabaseException with a specific message and a specific cause.
DatabaseException(Throwable e)
          Construct a DatabaseException for a specific cause.
 
Method Summary
 
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

DatabaseException

public DatabaseException(String message,
                         Throwable e)
Construct a DatabaseException with a specific message and a specific cause.

Parameters:
message - The text of the exception
e - The cause of the exception

DatabaseException

public DatabaseException(Throwable e)
Construct a DatabaseException for a specific cause.

Parameters:
e - The cause of the exception.


Copyright © 2010 JTheque. All Rights Reserved.