com.alibaba.druid.pool.vendor
Class NullExceptionSorter

java.lang.Object
  extended by com.alibaba.druid.pool.vendor.NullExceptionSorter
All Implemented Interfaces:
ExceptionSorter

public class NullExceptionSorter
extends Object
implements ExceptionSorter


Constructor Summary
NullExceptionSorter()
           
 
Method Summary
static NullExceptionSorter getInstance()
           
 boolean isExceptionFatal(SQLException e)
          Returns true or false whether or not the exception is fatal.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullExceptionSorter

public NullExceptionSorter()
Method Detail

getInstance

public static final NullExceptionSorter getInstance()

isExceptionFatal

public boolean isExceptionFatal(SQLException e)
Description copied from interface: ExceptionSorter
Returns true or false whether or not the exception is fatal.

Specified by:
isExceptionFatal in interface ExceptionSorter
Parameters:
e - the exception
Returns:
true or false if the exception is fatal.


Copyright © 2012 Alibaba Group. All Rights Reserved.