de.fesenmeyer.dbnormalizer.core.dbaccess
Class DBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by de.fesenmeyer.dbnormalizer.core.DBNormalizerException
              extended by de.fesenmeyer.dbnormalizer.core.dbaccess.DBException
All Implemented Interfaces:
Serializable

public class DBException
extends DBNormalizerException

Exception which can be thrown if something goes wrong when accessing a DB. In most cases, it will wrap a SQLException.

Author:
DF
See Also:
Serialized Form

Constructor Summary
DBException(String message)
          Class Constructor specifying a message.
DBException(String message, Throwable cause)
          Class Constructor specifying message and cause of the exception.
DBException(Throwable cause)
          Class Constructor specifying the cause of the exception.
 
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(String message)
Class Constructor specifying a message.

Parameters:
message - the message

DBException

public DBException(String message,
                   Throwable cause)
Class Constructor specifying message and cause of the exception.

Parameters:
message - the message
cause - the cause

DBException

public DBException(Throwable cause)
Class Constructor specifying the cause of the exception.

Parameters:
cause - the cause