sqlj.runtime

Class SQLNullException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.sql.SQLException
              extended by sqlj.runtime.SQLNullException
All Implemented Interfaces:
Serializable, Iterable<Throwable>

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).

See Also:
Serialized Form

Constructor Summary
SQLNullException()
          Create a SQLNullException object.
 
Method Summary
 
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
 
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
 

Constructor Detail

SQLNullException

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

Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] ENGINEAPI [sap.com] opensqldeprecated default BC-JAS-PER-SQL
[sap.com] CORE-TOOLS [sap.com] com.sap.engine.client.libdeprecated default BC-JAS
[sap.com] ENGFACADE [sap.com] tc/je/opensql/api api BC-JAS


Copyright 2012 SAP AG Complete Copyright Notice