Class MySQLExceptionSorter
java.lang.Object
org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLExceptionSorter
- All Implemented Interfaces:
Serializable,ExceptionSorter
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluates ajava.sql.SQLExceptionto determine if the error was fatal
-
Constructor Details
-
MySQLExceptionSorter
public MySQLExceptionSorter()Constructor
-
-
Method Details
-
isExceptionFatal
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.
-