Package com.alibaba.druid.pool.vendor
Class OracleExceptionSorter
- java.lang.Object
-
- com.alibaba.druid.pool.vendor.AbstractOracleExceptionSorter
-
- com.alibaba.druid.pool.vendor.OracleExceptionSorter
-
- All Implemented Interfaces:
ExceptionSorter,Serializable
public class OracleExceptionSorter extends AbstractOracleExceptionSorter implements Serializable
Implementation of ExceptionSorter for Oracle.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.pool.vendor.AbstractOracleExceptionSorter
fatalErrorCodes
-
-
Constructor Summary
Constructors Constructor Description OracleExceptionSorter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Integer>getFatalErrorCodes()booleanisExceptionFatal(SQLException e)Returns true or false whether or not the exception is fatal.voidsetFatalErrorCodes(Set<Integer> fatalErrorCodes)-
Methods inherited from class com.alibaba.druid.pool.vendor.AbstractOracleExceptionSorter
configFromProperties
-
-
-
-
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.
-
-