| 
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.InvalidDocumentRoleException
public class InvalidDocumentRoleException
Invalid document role. When a role is added to a template it must belong to the same Domain. If the domains do not match, this exception will be thrown when the template is created or edited.
The error message associated with this exception is:
IRM-01044: The role \"{0}\" cannot be used with template \"{1}\" as their domains do not match.
| Constructor Summary | |
|---|---|
InvalidDocumentRoleException(DocumentRole role, ContextTemplate template)Constructor.  | 
|
InvalidDocumentRoleException(DocumentRole role, ContextTemplate template, Throwable cause)Constructor.  | 
|
| Method Summary | |
|---|---|
 DocumentRole | 
getRole()The document role.  | 
 ContextTemplate | 
getTemplate()The context template.  | 
| 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 InvalidDocumentRoleException(DocumentRole role,
                                    ContextTemplate template)
role - The document role.template - The context template.
public InvalidDocumentRoleException(DocumentRole role,
                                    ContextTemplate template,
                                    Throwable cause)
role - The document role.template - The context template.cause - Cause of the exception.| Method Detail | 
|---|
public final DocumentRole getRole()
public final ContextTemplate getTemplate()
  | 
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 | |||||||||