|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
oracle.jdeveloper.cm.ds.db.DBException
An Exception that is thrown by a DB model operation. DBExceptions can wrap another exception. For example, operations against a JDBC Database may result in a SQLException; this SQLException can be wrapped in a DBException for reporting back to callers.
Constructor Summary | |
DBException(DBObject obj,
java.lang.String msg)
Constructs a new DBException on the specified object with the specified message. |
|
DBException(DBObject obj,
java.lang.String msg,
java.lang.Throwable cause)
Constructs a new DBException on the specified object with the specified message and wrapping the specified throwable |
|
DBException(java.lang.Throwable cause)
Constructs a new DBException wrapping a throwable, without an object. |
Method Summary | |
DBObject |
getObject()
The object on which this exception occurred. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 |
public DBException(DBObject obj, java.lang.String msg)
obj
- the object on which the exception occurred.msg
- the message describing the exception.public DBException(DBObject obj, java.lang.String msg, java.lang.Throwable cause)
obj
- the object on which the exception occurred.msg
- the message describing the exception.cause
- the root cause of the exceptionpublic DBException(java.lang.Throwable cause)
cause
- the Throwable that represents the underlying problem.Method Detail |
public DBObject getObject()
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.