|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
| 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.javatools.db.DBException
oracle.javatools.db.CascadeRequiredException
public class CascadeRequiredException
Subclass of DBException that is thrown when an attempt to delete or update an object is made when there are dependent objects in the given DBObjectProvider.
| Constructor Summary | |
|---|---|
CascadeRequiredException(java.util.Collection<DBObject> objs,
java.util.Collection<DBObjectID> deps)
|
|
CascadeRequiredException(DBObject obj)
|
|
CascadeRequiredException(DBObject obj,
java.util.Collection<DBObjectID> deps)
|
|
CascadeRequiredException(DBObject obj,
java.lang.String msg)
|
|
| Method Summary | |
|---|---|
java.util.Collection<DBObjectID> |
getDependents()
|
java.lang.String |
getMessage()
|
DBObject |
getObject()
The object on which this exception occurred. |
java.util.Collection<DBObject> |
getObjects()
|
void |
include(CascadeRequiredException cre2)
Includes the cascade information of the given exception with the details of this constraint (i.e. |
| Methods inherited from class oracle.javatools.db.DBException |
|---|
getNextException, 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 |
|---|
public CascadeRequiredException(DBObject obj,
java.lang.String msg)
public CascadeRequiredException(DBObject obj)
public CascadeRequiredException(DBObject obj,
java.util.Collection<DBObjectID> deps)
public CascadeRequiredException(java.util.Collection<DBObject> objs,
java.util.Collection<DBObjectID> deps)
| Method Detail |
|---|
public void include(CascadeRequiredException cre2)
cre2 - the details to include in this exceptionpublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic DBObject getObject()
DBException
getObject in class DBExceptionpublic java.util.Collection<DBObject> getObjects()
public java.util.Collection<DBObjectID> getDependents()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||