Skip navigation links

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

E12907-02


oracle.irm.engine.rights.context
Class UnknownDocumentRoleException

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

All Implemented Interfaces:
Serializable

public class UnknownDocumentRoleException
extends RuntimeException

Unknown document role. The document role does not exist, or has been deleted.

The error message associated with this exception is:

IRM-01049: The document role with UUID \"{0}\" on domain \"{1}\" does not exist.
See Also:
Serialized Form

Constructor Summary
UnknownDocumentRoleException(UUID uuid, Domain domain)
          Constructor.
UnknownDocumentRoleException(UUID uuid, Domain domain, Throwable cause)
          Constructor.

 

Method Summary
 Domain getDomain()
          The domain that owns that document role.
 UUID getUuid()
          The document role UUID.

 

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

UnknownDocumentRoleException

public UnknownDocumentRoleException(UUID uuid,
                                    Domain domain)
Constructor.
Parameters:
uuid - The document role UUID.
domain - The domain that owns that document role.

UnknownDocumentRoleException

public UnknownDocumentRoleException(UUID uuid,
                                    Domain domain,
                                    Throwable cause)
Constructor.
Parameters:
uuid - The document role UUID.
domain - The domain that owns that document role.
cause - Cause of the exception.

Method Detail

getUuid

public final UUID getUuid()
The document role UUID.
Returns:
the value of the property. This method will never return null.

getDomain

public final Domain getDomain()
The domain that owns that document role.
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-02


Copyright © 2010, Oracle. All rights reserved.