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 CannotRemoveContextTemplateException

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

All Implemented Interfaces:
Serializable

public class CannotRemoveContextTemplateException
extends Exception

The context template cannot be deleted. A context template cannot be deleted is there are ContextInstance that still refer to the context template. The context template can only be deleted once all the contexts that where created from this template are deleted.

The error message associated with this exception is:

IRM-01035: The context template \"{0}\" cannot be deleted.
See Also:
Serialized Form

Constructor Summary
CannotRemoveContextTemplateException(ContextTemplate contextTemplate)
          Constructor.
CannotRemoveContextTemplateException(ContextTemplate contextTemplate, Throwable cause)
          Constructor.

 

Method Summary
 ContextTemplate getContextTemplate()
          The content template that cannot be deleted.

 

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

CannotRemoveContextTemplateException

public CannotRemoveContextTemplateException(ContextTemplate contextTemplate)
Constructor.
Parameters:
contextTemplate - The content template that cannot be deleted.

CannotRemoveContextTemplateException

public CannotRemoveContextTemplateException(ContextTemplate contextTemplate,
                                            Throwable cause)
Constructor.
Parameters:
contextTemplate - The content template that cannot be deleted.
cause - Cause of the exception.

Method Detail

getContextTemplate

public final ContextTemplate getContextTemplate()
The content template that cannot be deleted.
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.