Protomatter Software v1.1.7

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

Constructor Summary
PoolSQLException()
           
PoolSQLException(java.lang.String message)
           
PoolSQLException(java.lang.String message, java.lang.Exception x)
           
 
Method Summary
 java.lang.Exception getException()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintWriter w)
           
 
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
 

Constructor Detail

PoolSQLException

public PoolSQLException()

PoolSQLException

public PoolSQLException(java.lang.String message)

PoolSQLException

public PoolSQLException(java.lang.String message,
                        java.lang.Exception x)
Method Detail

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

Protomatter Software v1.1.7
Copyright 1998-2002 Nate Sammons

Protomatter Software v1.1.7 http://protomatter.sourceforge.net/1.1.7