|
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
java.lang.RuntimeException
java.lang.IllegalArgumentException
oracle.irm.engine.rights.context.UnsupportedDocumentRoleException
public class UnsupportedDocumentRoleException
Unsupported document role. When a role is assigned to an account (within a context) the context must allow the document role. This exception is thrown if the document role is not supported by the context.
The error message associated with this exception is:
IRM-01051: The context \"{1}\" does not support role \"{0}\".
| Constructor Summary | |
|---|---|
UnsupportedDocumentRoleException(DocumentRole role, ContextInstance context)Constructor. |
|
UnsupportedDocumentRoleException(DocumentRole role, ContextInstance context, Throwable cause)Constructor. |
|
| Method Summary | |
|---|---|
ContextInstance |
getContext()The context. |
DocumentRole |
getRole()The invalid document role. |
| 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 UnsupportedDocumentRoleException(DocumentRole role,
ContextInstance context)
role - The invalid document role.context - The context.
public UnsupportedDocumentRoleException(DocumentRole role,
ContextInstance context,
Throwable cause)
role - The invalid document role.context - The context.cause - Cause of the exception.| Method Detail |
|---|
public final DocumentRole getRole()
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 | |||||||||