|
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.CannotRemoveDocumentRoleException
public class CannotRemoveDocumentRoleException
The document role cannot be deleted. A document role cannot be deleted is there are rights assigned to the role. The document role can only be deleted once all rights have been unassigned. This is restriction stops a role deletion affecting user's rights.
The error message associated with this exception is:
IRM-01036: The document role \"{0}\" cannot be deleted as there are rights assigned to this role.
Constructor Summary | |
---|---|
CannotRemoveDocumentRoleException(DocumentRole documentRole) Constructor. |
|
CannotRemoveDocumentRoleException(DocumentRole documentRole, Throwable cause) Constructor. |
Method Summary | |
---|---|
DocumentRole |
getDocumentRole() The document role 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 CannotRemoveDocumentRoleException(DocumentRole documentRole)
documentRole
- The document role that cannot be deleted.public CannotRemoveDocumentRoleException(DocumentRole documentRole, Throwable cause)
documentRole
- The document role that cannot be deleted.cause
- Cause of the exception.Method Detail |
---|
public final DocumentRole getDocumentRole()
|
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 |