Package com.alibaba.druid.pool.vendor
Class MySqlExceptionSorter
- java.lang.Object
-
- com.alibaba.druid.pool.vendor.MySqlExceptionSorter
-
- All Implemented Interfaces:
ExceptionSorter
public class MySqlExceptionSorter extends Object implements ExceptionSorter
-
-
Constructor Summary
Constructors Constructor Description MySqlExceptionSorter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigFromProperties(Properties properties)booleanisExceptionFatal(SQLException e)Returns true or false whether or not the exception is fatal.
-
-
-
Method Detail
-
isExceptionFatal
public boolean isExceptionFatal(SQLException e)
Description copied from interface:ExceptionSorterReturns true or false whether or not the exception is fatal.- Specified by:
isExceptionFatalin interfaceExceptionSorter- Parameters:
e- the exception- Returns:
- true or false if the exception is fatal.
-
configFromProperties
public void configFromProperties(Properties properties)
- Specified by:
configFromPropertiesin interfaceExceptionSorter
-
-