Object Translator

com.informix.ormapper
Class DatabaseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.sql.SQLException
                    |
                    +--com.informix.ormapper.DatabaseException
Direct Known Subclasses:
ChangeDetectedException, NoConnectionException, NoDriverException, NoResultSetException, NoStatementException

public class DatabaseException
extends java.sql.SQLException

This is the main Object Translator exception for all database- and connection-related errors.

See Also:
Serialized Form

Constructor Summary
DatabaseException()
           
DatabaseException(java.sql.SQLException e)
           
DatabaseException(java.lang.String message)
           
DatabaseException(java.lang.String message, java.lang.Throwable e)
           
DatabaseException(java.lang.Throwable e)
           
 
Method Summary
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseException

public DatabaseException()

DatabaseException

public DatabaseException(java.lang.String message)

DatabaseException

public DatabaseException(java.lang.Throwable e)

DatabaseException

public DatabaseException(java.lang.String message,
                         java.lang.Throwable e)

DatabaseException

public DatabaseException(java.sql.SQLException e)
Method Detail

printStackTrace

public void printStackTrace()
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Overrides:
printStackTrace in class java.lang.Throwable

Object Translator

Copyright © 1999-2000 Informix Software, Inc.