com.alibaba.druid.pool.vendor
Class MockExceptionSorter

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

public class MockExceptionSorter
extends Object
implements ExceptionSorter


Constructor Summary
MockExceptionSorter()
           
 
Method Summary
static MockExceptionSorter 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

MockExceptionSorter

public MockExceptionSorter()
Method Detail

getInstance

public static final MockExceptionSorter 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.