|
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.ImmutableDocumentRoleException
public class ImmutableDocumentRoleException
Immutable document role. If a role has been assigned to a user or group the role item constraints cannot be changed. Changing item constraints for an assigned role would change the semantics of the assigned role, changing item locks into item exclusions (or vice-versa).
The error message associated with this exception is:
IRM-01076: The item constraints for role \"{0}\" cannot be altered as the role has been assigned to a user or group.
Constructor Summary | |
---|---|
ImmutableDocumentRoleException(DocumentRole role) Constructor. |
|
ImmutableDocumentRoleException(DocumentRole role, Throwable cause) Constructor. |
Method Summary | |
---|---|
DocumentRole |
getRole() The 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 ImmutableDocumentRoleException(DocumentRole role)
role
- The document role.public ImmutableDocumentRoleException(DocumentRole role, Throwable cause)
role
- The document role.cause
- Cause of the exception.Method Detail |
---|
public final DocumentRole getRole()
|
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 |