<html> <head> <title>Exception SQLException</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="SQLException-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#Elements" class="navisub">Elements' Summary</a></td> <td class="navisub"><a href="#ElementDetails" class="navisub">Elements' Details</a></td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">sdbc</a> :: </p> </td> </tr> <tr> <td class="title">exception SQLException</td> </tr> <tr> <td><dl> <dt><b>Base Hierarchy</b></dt> <dd><pre style="font-family:monospace;"><strong>SQLException</strong> ┗ ::com::sun::star::<a href="../uno/module-ix.html">uno</a>::<a href="../uno/Exception.html">Exception</a> </pre></dd> </dl> </td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>is an exception that provides information on a database access error. </dd> <dd><p> Each <a href="SQLException.html">SQLException</a> provides several kinds of information: </p> <p> <ul> <li> a string describing the error. This is used as the ::com::sun::star::<a href="../uno/module-ix.html">uno</a>::<a href="../uno/Exception.html">Exception</a> message. </li> </ul> </p> </dd> </dl> </td> </tr> </table> <hr> <a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Elements' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#SQLState">SQLState</a></td> <td class="imsum_right">returns a string, which uses the XOPEN SQLState conventions. The values of the SQLState string are described in the XOPEN SQL spec. </td> </tr> <tr> <td class="imsum_left"><a href="#ErrorCode">ErrorCode</a></td> <td class="imsum_right">returns an integer error code that is specific to each vendor. Normally this will be the actual error code returned by the underlying database. A chain to the next Exception. This can be used to provide additional error information. </td> </tr> <tr> <td class="imsum_left"><a href="#NextException">NextException</a></td> <td class="imsum_right">returns a chain to the next Exception. This can be used to provide additional error information. </td> </tr> </table> <a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Elements' Details</td> </tr> <tr> <td class="imdetail"><a name="SQLState" class="membertitle">SQLState</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>SQLState</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>returns a string, which uses the XOPEN SQLState conventions. The values of the SQLState string are described in the XOPEN SQL spec. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="ErrorCode" class="membertitle">ErrorCode</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>long <b>ErrorCode</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>returns an integer error code that is specific to each vendor. Normally this will be the actual error code returned by the underlying database. A chain to the next Exception. This can be used to provide additional error information. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="NextException" class="membertitle">NextException</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>any <b>NextException</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>returns a chain to the next Exception. This can be used to provide additional error information. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>