Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.rights.context
Class DocumentRoleAlreadyExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.irm.engine.rights.context.DocumentRoleAlreadyExistsException

All Implemented Interfaces:
Serializable

public class DocumentRoleAlreadyExistsException
extends Exception

The document role already exists. Duplicate document role UUIDS are not allowed within the same Domain.

The error message associated with this exception is:

IRM-01040: The document role \"{0}\" already exists.
See Also:
Serialized Form

Constructor Summary
DocumentRoleAlreadyExistsException(DocumentRole role)
          Constructor.
DocumentRoleAlreadyExistsException(DocumentRole role, Throwable cause)
          Constructor.

 

Method Summary
 DocumentRole getRole()
          The document role that already exists.

 

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

DocumentRoleAlreadyExistsException

public DocumentRoleAlreadyExistsException(DocumentRole role)
Constructor.
Parameters:
role - The document role that already exists.

DocumentRoleAlreadyExistsException

public DocumentRoleAlreadyExistsException(DocumentRole role,
                                          Throwable cause)
Constructor.
Parameters:
role - The document role that already exists.
cause - Cause of the exception.

Method Detail

getRole

public final DocumentRole getRole()
The document role that already exists.
Returns:
the value of the property. This method will never return null.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.