sqlj.runtime
Class SQLNullException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.sql.SQLException
|
+--sqlj.runtime.SQLNullException
- All Implemented Interfaces:
- java.io.Serializable
- 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
| 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 |
SQLNullException
public SQLNullException()
- Create a SQLNullException object. The SQLState is initialized to
22002, and the vendorCode is set to the SQLException default.