        
        <span>
            So your DB code must either catch this exception or declare it
            to be throwable. Be aware that <code class="classname">DatabaseException</code> extends 
            <code class="classname">java.lang.Exception</code>. For example:
        </span>
    </p>
      <a id="java_intro1"></a>
      <pre class="programlisting">import com.sleepycat.db.DatabaseException;

    ...
try 
{
    // DB and other code goes here
}
catch(DatabaseException e)
{
  // DB error handli