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 ContextTemplateAlreadyExistsException

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

All Implemented Interfaces:
Serializable

public class ContextTemplateAlreadyExistsException
extends Exception

The context template already exists. Duplicate context template UUIDs are not allowed within the same Domain.

The error message associated with this exception is:

IRM-01039: The context template \"{0}\" already exists.
See Also:
Serialized Form

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

 

Method Summary
 ContextTemplate getContextTemplate()
          The content template that already exists.

 

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

ContextTemplateAlreadyExistsException

public ContextTemplateAlreadyExistsException(ContextTemplate contextTemplate)
Constructor.
Parameters:
contextTemplate - The content template that already exists.

ContextTemplateAlreadyExistsException

public ContextTemplateAlreadyExistsException(ContextTemplate contextTemplate,
                                             Throwable cause)
Constructor.
Parameters:
contextTemplate - The content template that already exists.
cause - Cause of the exception.

Method Detail

getContextTemplate

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