|
Oracle Fusion Middleware Java API Reference for Oracle ADF Controller 11g Release 2 (11.1.2.0.0) E17480-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.adf.controller.ControllerException
public class ControllerException
Exception from the ADF Controller.
Constructor Summary | |
---|---|
ControllerException()
Constructor. |
|
ControllerException(ExceptionKey key)
Constructor. |
|
ControllerException(ExceptionKey key,
java.lang.Throwable cause)
Constructor. |
|
ControllerException(ExceptionKey key,
java.lang.Throwable cause,
java.lang.Object... args)
Constructs the ControllerException with the given error
Throwable cause, message lookup key and message
substitution arguments that are used for message formatting. |
|
ControllerException(java.lang.Throwable cause)
Constructor. |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
Get the root cause. |
java.lang.String |
getErrorId()
Gets the id of this exception, eg. |
java.lang.String |
getErrorNumber()
Gets the error number for this exception, eg. |
java.lang.String |
getLocalizedMessage()
Get the Exception message, translated into the locale. |
java.lang.String |
getMessage()
|
static void |
init(java.lang.String baseName)
Initialize the ControllerException with the base name of the
resource bundle, a fully qualified class name. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, 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 |
---|
public ControllerException()
public ControllerException(ExceptionKey key)
key
- The key to the resource bundle message.public ControllerException(java.lang.Throwable cause)
cause
- The root cause of the exception.public ControllerException(ExceptionKey key, java.lang.Throwable cause)
key
- The key to the resource bundle message.cause
- The root cause of the exception.public ControllerException(ExceptionKey key, java.lang.Throwable cause, java.lang.Object... args)
ControllerException
with the given error
Throwable
cause, message lookup key and message
substitution arguments that are used for message formatting.
key
- the error message lookup keycause
- parent exception that caused itargs
- Object array for the messageFormattingMethod Detail |
---|
public static void init(java.lang.String baseName) throws java.util.MissingResourceException
ControllerException
with the base name of the
resource bundle, a fully qualified class name.
baseName
- base name of the resource bundle, a fully qualified
class name.
java.util.MissingResourceException
- if no resource bundle for the
specified base name can be found.public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getLocalizedMessage()
getLocalizedMessage
in class java.lang.Throwable
public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
public java.lang.String getErrorId()
public java.lang.String getErrorNumber()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Controller 11g Release 2 (11.1.2.0.0) E17480-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |