Skip navigation links

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

E12907-03


oracle.irm.engine.classifications.context
Class UnknownContextException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.irm.engine.classifications.context.UnknownContextException

All Implemented Interfaces:
Serializable

public class UnknownContextException
extends RuntimeException

Unknown context. Thrown when a context does not exist or has been deleted. This exception is typically thrown when details about a context are requested but the context UUID provided does not match to any known UUID.

The error message associated with this exception is:

IRM-01001: The context identified with UUID {0} does not exist.
See Also:
Serialized Form

Constructor Summary
UnknownContextException(UUID uuid)
          Constructor.
UnknownContextException(UUID uuid, Throwable cause)
          Constructor.

 

Method Summary
 UUID getUuid()
          The unknown context 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

UnknownContextException

public UnknownContextException(UUID uuid)
Constructor.
Parameters:
uuid - The unknown context UUID.

UnknownContextException

public UnknownContextException(UUID uuid,
                               Throwable cause)
Constructor.
Parameters:
uuid - The unknown context UUID.
cause - Cause of the exception.

Method Detail

getUuid

public final UUID getUuid()
The unknown context UUID.
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.