Decision Center API

ilog.webui.dhtml
Class IlxWControllerError

java.lang.Object
  extended by ilog.webui.dhtml.IlxWControllerError

public class IlxWControllerError
extends Object

Controller errors. A controller error is passed to the method IlxWController.handleError(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, ilog.webui.dhtml.IlxWControllerError, java.lang.String) when an error is encountered during execution of the method IlxWController.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse). There are four types of controller errors (see getType()):


Field Summary
static int ERROR_COMPONENTEXCEPTION
           
static int ERROR_IOEXCEPTION
           
static int ERROR_OTHER
           
static int ERROR_SESSIONTIMEOUT
           
 
Method Summary
 String getMessage()
          Gets the message associated with this error.
 Throwable getRootCause()
          Returns the error that caused this controller error.
 int getType()
          Gets the type of the error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR_SESSIONTIMEOUT

public static final int ERROR_SESSIONTIMEOUT
See Also:
Constant Field Values

ERROR_IOEXCEPTION

public static final int ERROR_IOEXCEPTION
See Also:
Constant Field Values

ERROR_COMPONENTEXCEPTION

public static final int ERROR_COMPONENTEXCEPTION
See Also:
Constant Field Values

ERROR_OTHER

public static final int ERROR_OTHER
See Also:
Constant Field Values
Method Detail

getMessage

public String getMessage()
Gets the message associated with this error.


getType

public int getType()
Gets the type of the error.


getRootCause

public Throwable getRootCause()
Returns the error that caused this controller error.

Returns:
The Throwable that caused this controller error. May be null.

Decision Center API

© Copyright IBM Corp. 1987, 2013