org.jboss.jca.adapters.jdbc.extensions.mysql

## Class MySQLExceptionSorter

- java.lang.Object
- - org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLExceptionSorter

- All Implemented Interfaces:
    java.io.Serializable, ExceptionSorter

      public class MySQLExceptionSorter
      extends java.lang.Object
      implements ExceptionSorter, java.io.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 and Description
    `MySQLExceptionSorter()` Constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isExceptionFatal(java.sql.SQLException e)` Evaluates a `java.sql.SQLException` to determine if the error was fatal

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MySQLExceptionSorter

          public MySQLExceptionSorter()

      Constructor

  - ### Method Detail

    - #### isExceptionFatal

          public boolean isExceptionFatal(java.sql.SQLException e)

      Evaluates a `java.sql.SQLException` to determine if the error was fatal
      Specified by:
        `isExceptionFatal` in interface `ExceptionSorter`
      Parameters:
        `e` - the `java.sql.SQLException`
      Returns:
        whether or not the exception is vatal.

Copyright © 2014 IronJacamar (http://www.ironjacamar.org)