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 InactiveContextTemplateException

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

All Implemented Interfaces:
Serializable

public class InactiveContextTemplateException
extends IllegalArgumentException

The context template is inactive. An inactive context template cannot be used to create a context. The template must be made active before it can be used to create contexts.

The error message associated with this exception is:

IRM-01043: The context template \"{0}\" is inactive and cannot be used to create contexts.
See Also:
Serialized Form

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

 

Method Summary
 ContextTemplate getContextTemplate()
          The inactive content template.

 

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

InactiveContextTemplateException

public InactiveContextTemplateException(ContextTemplate contextTemplate)
Constructor.
Parameters:
contextTemplate - The inactive content template.

InactiveContextTemplateException

public InactiveContextTemplateException(ContextTemplate contextTemplate,
                                        Throwable cause)
Constructor.
Parameters:
contextTemplate - The inactive content template.
cause - Cause of the exception.

Method Detail

getContextTemplate

public final ContextTemplate getContextTemplate()
The inactive content template.
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.