com.alibaba.druid.pool.vendor
Class MockExceptionSorter
java.lang.Object
com.alibaba.druid.pool.vendor.MockExceptionSorter
- All Implemented Interfaces:
- ExceptionSorter
public class MockExceptionSorter
- extends Object
- implements ExceptionSorter
MockExceptionSorter
public MockExceptionSorter()
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.