All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.as400.access.AS400JDBCException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.sql.SQLException
|
+----com.ibm.as400.access.AS400JDBCException
- public class AS400JDBCException
- extends SQLException
The AS400JDBCException class represents an exception that indicates
that an error has occurred with JDBC.
The JDBC driver throws AS400JDBCException objects whenever an error
occurs. AS400JDBCException objects provide several pieces of information
about database access errors:
- A String describing the error. This is accessible using
getMessage().
- A "SQL state" String that follows the XOPEN SQL state
conventions. This is accessible using getSQLState().
- An integer vendor code. For server errors, this is
the return code from the server. For other types of errors,
this is not significant. This is accessible using getErrorCode().
If multiple AS400JDBCExceptions are applicable, then they will
be chained together.
All Packages Class Hierarchy This Package Previous Next Index