public class

WebException

extends MSTRCheckedException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.microstrategy.utils.MSTRCheckedException
         ↳ com.microstrategy.web.beans.WebException
Known Direct Subclasses

Class Overview

Thrown if the error is due to incorrect or unexpected user inputs from a Web browser. WebEventHandler relies heavily on this exception to report unexpected user errors.

Summary

Public Constructors
WebException(LocalizableMessage errorMsg)
Constructs a WebException with the specified error message.
WebException(LocalizableMessage errorMsg, Throwable e)
Constructs a WebException with the specified error message, and the original cause of this exception.
WebException(int code, Object[] params, Locale locale)
This constructor is deprecated. use other constructor instead
WebException(int code, Object[] params, Throwable e, Locale locale)
This constructor is deprecated. use other constructor instead
WebException()
Constructs a WebException with no detail error code or error message.
WebException(int errorCode)
This constructor is deprecated. use other constructor instead
WebException(String errorMsg)
Constructs a WebException with the specified error message.
WebException(Throwable e)
Constructs a WebException with the specified cause of this exception.
WebException(String errorMsg, int errorCode)
Constructs a WebException with the specified error code and error message.
WebException(String errorMsg, Exception e)
Constructs a WebException with the specified error message and the original cause of this exception.
WebException(int errorCode, Exception e)
Constructs a WebException with the specified error code and the original cause of this exception.
WebException(String errorMsg, int errorCode, Exception e)
Constructs a WebException with the specified error code error message, and the original cause of this exception.
[Expand]
Inherited Methods
From class com.microstrategy.utils.MSTRCheckedException
From class java.lang.Throwable
From class java.lang.Object
From interface com.microstrategy.utils.LocalizableException

Public Constructors

public WebException (LocalizableMessage errorMsg)

Constructs a WebException with the specified error message.

Parameters
errorMsg the detail message

public WebException (LocalizableMessage errorMsg, Throwable e)

Constructs a WebException with the specified error message, and the original cause of this exception.

Parameters
errorMsg the detail message
e the original cause of this exception

public WebException (int code, Object[] params, Locale locale)

This constructor is deprecated.
use other constructor instead

Constructs a WebException with the specified error code, message parameters and locale.

Parameters
code a detail code
params the error message parameters to substitute
locale the Locale to localize the error message

public WebException (int code, Object[] params, Throwable e, Locale locale)

This constructor is deprecated.
use other constructor instead

Constructs a WebException with the specified error code, message parameters and locale.

Parameters
code a detail code
params the error message parameters to substitute
e the original cause of this exception
locale the Locale to localize the error message

public WebException ()

Constructs a WebException with no detail error code or error message.

public WebException (int errorCode)

This constructor is deprecated.
use other constructor instead

Constructs a WebException with the specified error code.

Parameters
errorCode a detail code

public WebException (String errorMsg)

Constructs a WebException with the specified error message.

Parameters
errorMsg the detail message

public WebException (Throwable e)

Constructs a WebException with the specified cause of this exception.

Parameters
e the original cause of this exception

public WebException (String errorMsg, int errorCode)

Constructs a WebException with the specified error code and error message.

Parameters
errorMsg the detail message
errorCode a detail code

public WebException (String errorMsg, Exception e)

Constructs a WebException with the specified error message and the original cause of this exception.

Parameters
errorMsg the detail message
e the original cause of this exception

public WebException (int errorCode, Exception e)

Constructs a WebException with the specified error code and the original cause of this exception.

Parameters
errorCode a detail code
e the original cause of this exception

public WebException (String errorMsg, int errorCode, Exception e)

Constructs a WebException with the specified error code error message, and the original cause of this exception.

Parameters
errorMsg the detail message
errorCode a detail code
e the original cause of this exception