Skip navigation links

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

E12907-03


oracle.irm.engine.system.general
Class DuplicateElementException

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.system.general.DuplicateElementException

All Implemented Interfaces:
Serializable

public class DuplicateElementException
extends IllegalArgumentException

A duplicate element has been supplied where a duplicate is not allowed.

The error message associated with this exception is:

IRM-01062: A duplicate {0} element is supplied where a duplicate is not allowed or expected.
See Also:
Serialized Form

Constructor Summary
DuplicateElementException(String name)
          Constructor.
DuplicateElementException(String name, Throwable cause)
          Constructor.

 

Method Summary
 String getName()
          The duplicate element name.

 

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

DuplicateElementException

public DuplicateElementException(String name)
Constructor.
Parameters:
name - The duplicate element name.

DuplicateElementException

public DuplicateElementException(String name,
                                 Throwable cause)
Constructor.
Parameters:
name - The duplicate element name.
cause - Cause of the exception.

Method Detail

getName

public final String getName()
The duplicate element name.
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.