org.axiondb
Class AxionSQLStateCode

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.axiondb.AxionSQLStateCode
All Implemented Interfaces:
Serializable

public class AxionSQLStateCode
extends Exception

SQLState codes consisti of 5 characters. The first 2 characters specify the error class, the last three characters specify the subclass. For example, the SQLSTATE value '22012' consists of class code 22 (data exception) and subclass code 012 (division by zero). * Each of the five characters in a SQLSTATE value is a digit (0..9) or an uppercase Latin letter (A..Z).

Class codes that begin with a digit in the range 0..4 or a letter in the range A..H are reserved for predefined conditions. Within predefined classes, subclass codes that begin with a digit in the range 0..4 or a letter in the range A..H are reserved for predefined sub-conditions. All other subclass codes are reserved for implementation-defined sub-conditions. (see ANSI-SQL99 specification).

Version:
$Revision: 1.1 $ $Date: 2005/03/19 02:08:49 $
See Also:
Serialized Form

Field Summary
static int DEFAULT_VENDOR_CODE
           
 
Constructor Summary
AxionSQLStateCode()
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_VENDOR_CODE

public static final int DEFAULT_VENDOR_CODE
See Also:
Constant Field Values
Constructor Detail

AxionSQLStateCode

public AxionSQLStateCode()