sqlj.runtime
Class SQLNullException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.sql.SQLException
                    |
                    +--sqlj.runtime.SQLNullException

public class SQLNullException
extends java.sql.SQLException

The SQLNullException class is a particular instance of SQLException used in the case that SQL NULL was attemped to be fetched into a java primitive type. This exception is raised by all conformant runtimes when such a condition occurs.

The SQLState for a SQLNullException is "22002" (null value, no indicator variable).

See Also:
Serialized Form

Constructor Summary
SQLNullException()
          Create a SQLNullException object.
 
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SQLNullException

public SQLNullException()
Create a SQLNullException object. The SQLState is initialized to 22002, and the vendorCode is set to the SQLException default.