Oracle Fusion Middleware Java API Reference for Oracle ADF Controller
11g Release 1 (11.1.1.7.0)

E10651-08

oracle.adf.controller
Class AdfcIllegalArgumentException

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.adf.controller.AdfcIllegalArgumentException
All Implemented Interfaces:
java.io.Serializable

public class AdfcIllegalArgumentException
extends java.lang.IllegalArgumentException

Extension of IllegalArgumentException that forces the use of a strongly-typed ExceptionKey to create a translated message.

See Also:
Serialized Form

Constructor Summary
AdfcIllegalArgumentException(ExceptionKey key)
          Constructor.
AdfcIllegalArgumentException(ExceptionKey key, java.lang.Throwable cause)
          Constructor.
AdfcIllegalArgumentException(ExceptionKey key, java.lang.Throwable cause, java.lang.Object... args)
          Constructs the AdfcIllegalArgumentException.
 
Method Summary
 
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

AdfcIllegalArgumentException

public AdfcIllegalArgumentException(ExceptionKey key)
Constructor. Creates a ControllerException with the specified key.

Parameters:
key - The key to the resource bundle message.

AdfcIllegalArgumentException

public AdfcIllegalArgumentException(ExceptionKey key,
                                    java.lang.Throwable cause)
Constructor. Creates a ControllerException with the specified values.

Parameters:
key - The key to the resource bundle message.
cause - The root cause of the exception.

AdfcIllegalArgumentException

public AdfcIllegalArgumentException(ExceptionKey key,
                                    java.lang.Throwable cause,
                                    java.lang.Object... args)
Constructs the AdfcIllegalArgumentException.

The cause of this exception instance is set to a ControllerException with the given error Throwable cause, message lookup key and message substitution arguments.

Parameters:
key - the error message lookup key
cause - parent exception that caused it
args - Object array for the messageFormatting

Oracle Fusion Middleware Java API Reference for Oracle ADF Controller
11g Release 1 (11.1.1.7.0)

E10651-08

Copyright © 1997, 2013, Oracle. All rights reserved.