From: Weston P. <wes...@jb...> - 2006-07-08 14:14:04
|
User: wprice Date: 06/07/08 10:14:02 Modified: src/main/org/jboss/resource/adapter/jdbc ExceptionSorter.java Log: Code comments and cleanup. Revision Changes Path 1.6 +18 -2 jbosscx/src/main/org/jboss/resource/adapter/jdbc/ExceptionSorter.java (In the diff below, changes in quantity of whitespace are not shown.) Index: ExceptionSorter.java =================================================================== RCS file: /cvsroot/jboss/jbosscx/src/main/org/jboss/resource/adapter/jdbc/ExceptionSorter.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -b -r1.5 -r1.6 --- ExceptionSorter.java 21 Nov 2005 22:29:44 -0000 1.5 +++ ExceptionSorter.java 8 Jul 2006 14:14:02 -0000 1.6 @@ -24,14 +24,30 @@ import java.sql.SQLException; /** - * ExceptionSorter + * The ExceptionSorter interface allows for <code>java.sql.SQLException</code> + * evaluation to determine if an error is fatal. * * @author <a href="mailto:d_j...@us...">David Jencks</a> * @author <a href="mailto:ad...@jb...">Adrian Brock</a> - * @version $Revision: 1.5 $ + * @author <a href="mailto:wes...@jb...>Weston Price</a> + * + * @see ValidConnectionChecker + * @see CheckValidConnectionSQL + * + * @version $Revision: 1.6 $ */ public interface ExceptionSorter { + + + /** + * Evaluates a <code>java.sql.SQLException</code> to determine if + * the error was fatal + * + * @param e the <code>java.sql.SQLException</code> + * + * @return whether or not the exception is vatal. + */ boolean isExceptionFatal(SQLException e); } |