org.logicalcobwebs.proxool

Class FatalSQLException


public class FatalSQLException
extends SQLException

A type of SQLException that has been defined as fatal. It contains the original plain SQLException just in case you need it.
Version:
$Revision: 1.3 $, $Date: 2003/09/10 22:21:04 $
Authors:
billhorsman
$Author: chr32 $ (current maintainer)
See Also:
ConnectionPoolDefinitionIF.getFatalSqlExceptions()

Constructor Summary

FatalSQLException(SQLException cause)
FatalSQLException(SQLException cause, String reason, String sqlState)

Method Summary

Throwable
getCause()
Same as getOriginalSQLException()
SQLException
getOriginalSQLException()
Get the SQLException that was detected as being fatal

Constructor Details

FatalSQLException

public FatalSQLException(SQLException cause)

FatalSQLException

public FatalSQLException(SQLException cause,
                         String reason,
                         String sqlState)
Parameters:
cause - the SQLException that was detected as being fatal
reason - see super.SQLException(java.lang.String, java.lang.String)
sqlState - see super.SQLException(java.lang.String, java.lang.String)

Method Details

getCause

public Throwable getCause()
See Also:
Throwable.getCause

getOriginalSQLException

public SQLException getOriginalSQLException()
Get the SQLException that was detected as being fatal
Returns:
the original SQLException