public class IlxWRuntimeException
extends java.lang.RuntimeException
| Constructor and Description |
|---|
IlxWRuntimeException(java.lang.String message)
Constructs a new
IlxWRuntimeException with the specified
message. |
IlxWRuntimeException(java.lang.String message,
java.lang.Throwable rootCause)
Constructs a new
IlxWRuntimeException when the framework
needs to throw an exception and includes a message
about the "root cause" exception that interfered with its
normal operation, including a description message. |
IlxWRuntimeException(java.lang.Throwable rootCause)
Constructs a new
IlxWRuntimeException when the source
needs to throw an exception and includes a message
about the "root cause" exception that interfered with its
normal operation. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getRootCause()
Returns the exception that caused this servlet exception.
|
public IlxWRuntimeException(java.lang.String message)
IlxWRuntimeException with the specified
message.message - A String containing the text of the exception
messagepublic IlxWRuntimeException(java.lang.String message,
java.lang.Throwable rootCause)
IlxWRuntimeException when the framework
needs to throw an exception and includes a message
about the "root cause" exception that interfered with its
normal operation, including a description message.message - a String containing the text of the exception
messagerootCause - the Throwable exception that interfered with the
normal operation of the framework, making the
IlxWRuntimeException necessary.public IlxWRuntimeException(java.lang.Throwable rootCause)
IlxWRuntimeException when the source
needs to throw an exception and includes a message
about the "root cause" exception that interfered with its
normal operation. The exception message is based on the localized
message of the underlying exception.
This constructor calls the getLocalizedMessage method
on the Throwable exception to get a localized exception
message. When you subclass IlxWRuntimeException,
you may override this method to create an exception message
designed for a specific locale.
rootCause - The Throwable exception that interfered with the
normal operation of the framework, making the
IlxWRuntimeException necessary.© Copyright IBM Corp. 1987, 2017