to.etc.dbpool
Class BetterSQLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
to.etc.dbpool.BetterSQLException
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Iterable<java.lang.Throwable>
public class BetterSQLException
- extends java.sql.SQLException
Created on Jul 8, 2003
- Author:
- jal
- See Also:
- Serialized Form
Constructor Summary |
BetterSQLException(java.lang.String sql,
java.lang.Object[] par,
int ct,
java.sql.SQLException rootcause)
|
BetterSQLException(java.lang.String sql,
java.sql.SQLException rootcause)
|
Methods inherited from class java.sql.SQLException |
getNextException, iterator, 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 |
BetterSQLException
public BetterSQLException(java.lang.String sql,
java.sql.SQLException rootcause)
BetterSQLException
public BetterSQLException(java.lang.String sql,
java.lang.Object[] par,
int ct,
java.sql.SQLException rootcause)
getErrorCode
public int getErrorCode()
- Overrides:
getErrorCode
in class java.sql.SQLException
getSQLState
public java.lang.String getSQLState()
- Overrides:
getSQLState
in class java.sql.SQLException
format
public static java.lang.String format(java.lang.Object[] par,
int ct)