org.jboss.jca.adapters.jdbc.extensions.novendor
Class NullExceptionSorter

java.lang.Object
  extended by org.jboss.jca.adapters.jdbc.extensions.novendor.NullExceptionSorter
All Implemented Interfaces:
Serializable, ExceptionSorter

public class NullExceptionSorter
extends Object
implements ExceptionSorter, Serializable

Does not check the exception. Used if the named exception sorter cannot be instantiated.

Version:
$Revision: 75423 $
Author:
Adrian Brock, Weston Price
See Also:
Serialized Form

Constructor Summary
NullExceptionSorter()
          Constructor
 
Method Summary
 boolean isExceptionFatal(SQLException e)
          Evaluates a java.sql.SQLException to determine if the error was fatal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullExceptionSorter

public NullExceptionSorter()
Constructor

Method Detail

isExceptionFatal

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

Specified by:
isExceptionFatal in interface ExceptionSorter
Parameters:
e - the java.sql.SQLException
Returns:
whether or not the exception is vatal.


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)