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 MandatoryArgumentException

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

All Implemented Interfaces:
Serializable

public class MandatoryArgumentException
extends IllegalArgumentException

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

The error message associated with this exception is:

IRM-01068: The parameter {1} passed into {0} is mandatory.
See Also:
Serialized Form

Constructor Summary
MandatoryArgumentException(String method, String name)
          Constructor.
MandatoryArgumentException(String method, String name, Throwable cause)
          Constructor.

 

Method Summary
 String getMethod()
          The method name.
 String getName()
          The parameter 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

MandatoryArgumentException

public MandatoryArgumentException(String method,
                                  String name)
Constructor.
Parameters:
method - The method name.
name - The parameter name.

MandatoryArgumentException

public MandatoryArgumentException(String method,
                                  String name,
                                  Throwable cause)
Constructor.
Parameters:
method - The method name.
name - The parameter name.
cause - Cause of the exception.

Method Detail

getMethod

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

getName

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