|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-02 |
|||||||||
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.AccountAlreadyAssignedException
public class AccountAlreadyAssignedException
Account already assigned a role. This exception is raised when an account already has a role assigned with a context.
The error message associated with this exception is:
IRM-01030: The account \"{0}\" has already been assigned the role \"{1}\".
Constructor Summary | |
---|---|
AccountAlreadyAssignedException(Account account, DocumentRole role) Constructor. |
|
AccountAlreadyAssignedException(Account account, DocumentRole role, Throwable cause) Constructor. |
Method Summary | |
---|---|
Account |
getAccount() The account. |
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 AccountAlreadyAssignedException(Account account, DocumentRole role)
account
- The account.role
- The document role.public AccountAlreadyAssignedException(Account account, DocumentRole role, Throwable cause)
account
- The account.role
- The document role.cause
- Cause of the exception.Method Detail |
---|
public final Account getAccount()
public final DocumentRole getRole()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |