|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.irm.engine.rights.context.CannotRemoveContextInstanceException
public class CannotRemoveContextInstanceException
The context cannot be deleted. A context cannot be deleted if there are rights assigned with the context. This is restriction help prevents accidental context deletion.
The error message associated with this exception is:
IRM-01034: The context \"{0}\" cannot be deleted as there are rights assigned within this context.
Constructor Summary | |
---|---|
CannotRemoveContextInstanceException(ContextInstance context) Constructor. |
|
CannotRemoveContextInstanceException(ContextInstance context, Throwable cause) Constructor. |
Method Summary | |
---|---|
ContextInstance |
getContext() The context that cannot be deleted. |
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 CannotRemoveContextInstanceException(ContextInstance context)
context
- The context that cannot be deleted.public CannotRemoveContextInstanceException(ContextInstance context, Throwable cause)
context
- The context that cannot be deleted.cause
- Cause of the exception.Method Detail |
---|
public final ContextInstance getContext()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |