org.eclipse.net4j.db
Class DBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.eclipse.net4j.db.DBException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SchemaElementNotFoundException

public class DBException
extends RuntimeException

A runtime exception thrown to indicate problems with a database, frequently used to wrap checked SQL exceptions.

See Also:
Serialized Form

Constructor Summary
DBException()
           
DBException(String message)
           
DBException(String message, Throwable cause)
           
DBException(String message, Throwable cause, String sql)
           
DBException(Throwable cause)
           
DBException(Throwable cause, String sql)
           
 
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

DBException

public DBException()

DBException

public DBException(String message)

DBException

public DBException(Throwable cause)

DBException

public DBException(String message,
                   Throwable cause)

DBException

public DBException(Throwable cause,
                   String sql)
Since:
4.0

DBException

public DBException(String message,
                   Throwable cause,
                   String sql)
Since:
4.0


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.