Class MySQLExceptionSorter
- java.lang.Object
-
- org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLExceptionSorter
-
- All Implemented Interfaces:
Serializable,ExceptionSorter
public class MySQLExceptionSorter extends Object implements ExceptionSorter, Serializable
MySQLExceptionSorter This is a basic exception sorter for the MySQL RDBMS. All error codes are taken from the MySQL Connector Java 3.0.16 SQLError class.- Author:
- Ulf Schroeter
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MySQLExceptionSorter()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisExceptionFatal(SQLException e)Evaluates ajava.sql.SQLExceptionto determine if the error was fatal
-
-
-
Method Detail
-
isExceptionFatal
public boolean isExceptionFatal(SQLException e)
Evaluates ajava.sql.SQLExceptionto determine if the error was fatal- Specified by:
isExceptionFatalin interfaceExceptionSorter- Parameters:
e- thejava.sql.SQLException- Returns:
- whether or not the exception is vatal.
-
-