|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException ilog.webui.dhtml.IlxWRuntimeException
public class IlxWRuntimeException
The base class for web components exceptions.
Those exceptions may be thrown by the web components methods when
the user uses the component inappropriately.
Constructor Summary | |
---|---|
IlxWRuntimeException(String message)
Constructs a new IlxWRuntimeException with the specified
message. |
|
IlxWRuntimeException(String message,
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(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. |
Method Summary | |
---|---|
Throwable |
getRootCause()
Returns the exception that caused this servlet exception. |
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 |
---|
public IlxWRuntimeException(String message)
IlxWRuntimeException
with the specified
message.
message
- A String
containing the text of the exception
messagepublic IlxWRuntimeException(String message, 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(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.Method Detail |
---|
public Throwable getRootCause()
Throwable
that caused this
IlxWRuntimeException
.
May be null
if no root cause was specified in the
exception constructor.
|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |