org.jboss.jca.adapters.jdbc.spi
Interface ExceptionSorter

All Known Implementing Classes:
DB2ExceptionSorter, InformixExceptionSorter, MySQLExceptionSorter, NullExceptionSorter, OracleExceptionSorter, PostgreSQLExceptionSorter, SybaseExceptionSorter

public interface ExceptionSorter

The ExceptionSorter interface allows for java.sql.SQLException evaluation to determine if an error is fatal.

Version:
$Revision: 71554 $
Author:
David Jencks, Adrian Brock, ValidConnectionChecker

Method Summary
 boolean isExceptionFatal(SQLException e)
          Evaluates a java.sql.SQLException to determine if the error was fatal
 

Method Detail

isExceptionFatal

boolean isExceptionFatal(SQLException e)
Evaluates a java.sql.SQLException to determine if the error was fatal

Parameters:
e - the java.sql.SQLException
Returns:
whether or not the exception is vatal.


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)