Skip navigation links

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

E12907-03


oracle.irm.engine.types.rights.context
Class CannotRemoveContextInstanceException

java.lang.Object
  extended by oracle.irm.engine.types.rights.context.CannotRemoveContextInstanceException

All Implemented Interfaces:
Serializable

public class CannotRemoveContextInstanceException
extends Object
implements Serializable

Cannot Remove Context Instance exception information. A context cannot be deleted if there are rights assigned with the context. This is restriction help prevents accidental context deletion.

This class is used to store the state of an EJB exception and the fault data in a Web Service exception.

See Also:
Serialized Form

Constructor Summary
CannotRemoveContextInstanceException()
          Default constructor.
CannotRemoveContextInstanceException(ContextInstanceRef context)
          Constructor.

 

Method Summary
 ContextInstanceRef getContext()
          The context that cannot be deleted.
 void setContext(ContextInstanceRef value)
          The context that cannot be deleted.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

CannotRemoveContextInstanceException

public CannotRemoveContextInstanceException()
Default constructor.

CannotRemoveContextInstanceException

public CannotRemoveContextInstanceException(ContextInstanceRef context)
Constructor.

Method Detail

getContext

public ContextInstanceRef getContext()
The context that cannot be deleted.
Returns:
the value of the property.

setContext

public void setContext(ContextInstanceRef value)
The context that cannot be deleted.
Parameters:
value - the new value for the property.

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.