All Packages    This Package  Previous  Next  

Class sqlj.runtime.SQLNullException

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

public class SQLNullException
extends 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).


Constructor Index

 o SQLNullException()
Create a SQLNullException object.

Constructors

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


All Packages    This Package  Previous  Next