com.protomatter.jdbc.pool
Class PoolSQLException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.sql.SQLException
|
+--com.protomatter.jdbc.pool.PoolSQLException
- All Implemented Interfaces:
- java.io.Serializable
- public class PoolSQLException
- extends java.sql.SQLException
A SQLException from a JDBC Connection pool that can mask
another exception. When a stack trace is printed, both
exceptions show up.
- See Also:
- Serialized Form
Methods inherited from class java.sql.SQLException |
getErrorCode, getNextException, getSQLState, setNextException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PoolSQLException
public PoolSQLException()
PoolSQLException
public PoolSQLException(java.lang.String message)
PoolSQLException
public PoolSQLException(java.lang.String message,
java.lang.Exception x)
getException
public java.lang.Exception getException()
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter w)
- Overrides:
printStackTrace
in class java.lang.Throwable