2.17.2: 2011-06-17

net.sf.basedb.core
Class DatabaseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.basedb.core.BaseException
                  extended by net.sf.basedb.core.DatabaseException
All Implemented Interfaces:
Serializable

public class DatabaseException
extends BaseException

Exceptions of this type are thrown when there is an error from the database.

Version:
2.0
Author:
Samuel
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
DatabaseException()
          Create a new DatabaseException object.
DatabaseException(String message)
          Create a new DatabaseException object with the specified message.
DatabaseException(String message, Throwable cause)
          Create a new DatabaseException object with the specified message
DatabaseException(Throwable cause)
          Create a new DatabaseException object acting as a wrapper for another exception that caused the error.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

DatabaseException

public DatabaseException()
Create a new DatabaseException object.


DatabaseException

public DatabaseException(String message)
Create a new DatabaseException object with the specified message.

Parameters:
message - The message to throw with the exception

DatabaseException

public DatabaseException(String message,
                         Throwable cause)
Create a new DatabaseException object with the specified message

Parameters:
message - The message to throw with the exception
cause - The original exception

DatabaseException

public DatabaseException(Throwable cause)
Create a new DatabaseException object acting as a wrapper for another exception that caused the error.

Parameters:
cause - The original exception

2.17.2: 2011-06-17