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 UnsupportedEnumValueException

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.UnsupportedEnumValueException

All Implemented Interfaces:
Serializable

public class UnsupportedEnumValueException
extends IllegalArgumentException

Unsupported enumeration value. An enumeration value has been provided that is not a valid choice/supported value.

The error message associated with this exception is:

IRM-01070: The enumeration value {0} is unsupported in this context.
See Also:
Serialized Form

Constructor Summary
UnsupportedEnumValueException(Enum<?> value)
          Constructor.
UnsupportedEnumValueException(Enum<?> value, Throwable cause)
          Constructor.

 

Method Summary
 Enum<?> getValue()
          The unsupported enumeration value.

 

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

UnsupportedEnumValueException

public UnsupportedEnumValueException(Enum<?> value)
Constructor.
Parameters:
value - The unsupported enumeration value.

UnsupportedEnumValueException

public UnsupportedEnumValueException(Enum<?> value,
                                     Throwable cause)
Constructor.
Parameters:
value - The unsupported enumeration value.
cause - Cause of the exception.

Method Detail

getValue

public final Enum<?> getValue()
The unsupported enumeration value.
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.