org.sandev.tools.JDBC
Class SandSQLException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.sql.SQLException
              extended byorg.sandev.tools.JDBC.SandSQLException
All Implemented Interfaces:
java.io.Serializable

public class SandSQLException
extends java.sql.SQLException

Provide a standard Exception ctor signature around a SQLException. At the time of this writing, java.sql.SQLException did not have any ctors that take a throwable, making it difficult to track down root causes. This signature provides for throwing a SQLException with root cause information.

See Also:
Serialized Form

Constructor Summary
SandSQLException()
           
SandSQLException(java.lang.String msg)
           
SandSQLException(java.lang.String msg, java.lang.Throwable cause)
           
SandSQLException(java.lang.Throwable cause)
           
 
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, setNextException
 
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

SandSQLException

public SandSQLException()

SandSQLException

public SandSQLException(java.lang.String msg)

SandSQLException

public SandSQLException(java.lang.String msg,
                        java.lang.Throwable cause)

SandSQLException

public SandSQLException(java.lang.Throwable cause)