Skip navigation links

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

E12907-01


oracle.irm.engine.system.general
Class MandatoryPropertyException

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

All Implemented Interfaces:
Serializable

public class MandatoryPropertyException
extends IllegalArgumentException

A mandatory property has not been supplied. A non null value is required.

The error message associated with this exception is:

IRM-01069: The {0} {1} property is mandatory.
See Also:
Serialized Form

Constructor Summary
MandatoryPropertyException(String object, String name)
          Constructor.
MandatoryPropertyException(String object, String name, Throwable cause)
          Constructor.

 

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

MandatoryPropertyException

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

MandatoryPropertyException

public MandatoryPropertyException(String object,
                                  String name,
                                  Throwable cause)
Constructor.
Parameters:
object - The object name.
name - 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.

getName

public final String getName()
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-01


Copyright © 2010, Oracle. All rights reserved.