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 ImmutablePropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.irm.engine.system.general.ImmutablePropertyException

All Implemented Interfaces:
Serializable

public class ImmutablePropertyException
extends RuntimeException

Immutable property. This exception is thrown when an attempt is made to alter a property that is read-only or immutable.

The error message associated with this exception is:

IRM-01066: The {0} {1} is immutable and cannot be modified.
See Also:
Serialized Form

Constructor Summary
ImmutablePropertyException(String object, String property)
          Constructor.
ImmutablePropertyException(String object, String property, Throwable cause)
          Constructor.

 

Method Summary
 String getObject()
          The object name.
 String getProperty()
          The property 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

ImmutablePropertyException

public ImmutablePropertyException(String object,
                                  String property)
Constructor.
Parameters:
object - The object name.
property - The property name.

ImmutablePropertyException

public ImmutablePropertyException(String object,
                                  String property,
                                  Throwable cause)
Constructor.
Parameters:
object - The object name.
property - The property name.
cause - Cause of the exception.

Method Detail

getObject

public final String getObject()
The object name.
Returns:
the value of the property. This method will never return null.

getProperty

public final String getProperty()
The property 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.