Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

oracle.javatools.db.sql
Class IDException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.javatools.db.DBException
              extended by oracle.javatools.db.sql.SQLQueryException
                  extended by oracle.javatools.db.sql.IDException
All Implemented Interfaces:
java.io.Serializable

public class IDException
extends SQLQueryException

Exception thrown when a DBObject is missing an ID. This generally means that the SQL api can't use the object.

See Also:
Serialized Form

Constructor Summary
IDException(DBObject obj)
          Constructor to use when an object has no ID.
IDException(DBObjectID id, DBException cause)
          Constructor to use when an ID won't resolve.
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class oracle.javatools.db.DBException
getNextException, getObject, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IDException

public IDException(DBObject obj)
Constructor to use when an object has no ID.


IDException

public IDException(DBObjectID id,
                   DBException cause)
Constructor to use when an ID won't resolve.

Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

Copyright © 1997, 2011, Oracle. All rights reserved.