Oracle Fusion Middleware Java API Reference for Oracle ADF Controller
11g Release 2 (11.1.2.0.0)

E17480-01

oracle.adf.controller
Class AdfcIllegalStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalStateException
                  extended by oracle.adf.controller.AdfcIllegalStateException
All Implemented Interfaces:
java.io.Serializable

public class AdfcIllegalStateException
extends java.lang.IllegalStateException

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

See Also:
Serialized Form

Constructor Summary
AdfcIllegalStateException(ExceptionKey key)
          Constructor.
AdfcIllegalStateException(ExceptionKey key, java.lang.Throwable cause)
          Constructor.
AdfcIllegalStateException(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

AdfcIllegalStateException

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

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

AdfcIllegalStateException

public AdfcIllegalStateException(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.

AdfcIllegalStateException

public AdfcIllegalStateException(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 2 (11.1.2.0.0)

E17480-01

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