Package com.microstrategy.web.beans
Class WebException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.microstrategy.utils.MSTRCheckedException
-
- com.microstrategy.web.beans.WebException
-
- All Implemented Interfaces:
LocalizableException
,java.io.Serializable
- Direct Known Subclasses:
WebAppException
public class WebException extends MSTRCheckedException
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.- Since:
- MicroStrategy Web 7.3.1 or earlier
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.utils.MSTRCheckedException
MSTRCheckedException.ExceptionXMLHandler
-
-
Constructor Summary
Constructors Constructor Description WebException()
Constructs aWebException
with no detail error code or error message.WebException(int errorCode)
Deprecated.use other constructor insteadWebException(int errorCode, java.lang.Exception e)
Constructs aWebException
with the specified error code and the original cause of this exception.WebException(int code, java.lang.Object[] params, java.lang.Throwable e, java.util.Locale locale)
Deprecated.use other constructor insteadWebException(int code, java.lang.Object[] params, java.util.Locale locale)
Deprecated.use other constructor insteadWebException(LocalizableMessage errorMsg)
Constructs aWebException
with the specified error message.WebException(LocalizableMessage errorMsg, java.lang.Throwable e)
Constructs aWebException
with the specified error message, and the original cause of this exception.WebException(java.lang.String errorMsg)
Constructs aWebException
with the specified error message.WebException(java.lang.String errorMsg, int errorCode)
Constructs aWebException
with the specified error code and error message.WebException(java.lang.String errorMsg, int errorCode, java.lang.Exception e)
Constructs aWebException
with the specified error code error message, and the original cause of this exception.WebException(java.lang.String errorMsg, java.lang.Exception e)
Constructs aWebException
with the specified error message and the original cause of this exception.WebException(java.lang.Throwable e)
Constructs aWebException
with the specified cause of this exception.
-
Method Summary
-
Methods inherited from class com.microstrategy.utils.MSTRCheckedException
getCause, getDefaultLocale, getErrorCode, getLocalizableMessage, getMessage, getMessage, getMessage, getRootCause, getRootCause, setCause, setDefaultLocale, setXMLHandler
-
-
-
-
Constructor Detail
-
WebException
public WebException(LocalizableMessage errorMsg)
Constructs aWebException
with the specified error message.- Parameters:
errorMsg
- the detail message- Since:
- MicroStrategy Web 8.0.0
-
WebException
public WebException(LocalizableMessage errorMsg, java.lang.Throwable e)
Constructs aWebException
with the specified error message, and the original cause of this exception.- Parameters:
e
- the original cause of this exceptionerrorMsg
- the detail message- Since:
- MicroStrategy Web 8.0.0
-
WebException
public WebException(int code, java.lang.Object[] params, java.util.Locale locale)
Deprecated.use other constructor insteadConstructs aWebException
with the specified error code, message parameters and locale.- Parameters:
code
- a detail codeparams
- the error message parameters to substitutelocale
- theLocale
to localize the error message- Since:
- MicroStrategy Web 8.0.0
-
WebException
public WebException(int code, java.lang.Object[] params, java.lang.Throwable e, java.util.Locale locale)
Deprecated.use other constructor insteadConstructs aWebException
with the specified error code, message parameters and locale.- Parameters:
code
- a detail codeparams
- the error message parameters to substitutee
- the original cause of this exceptionlocale
- theLocale
to localize the error message- Since:
- MicroStrategy Web 8.0.0
-
WebException
public WebException()
Constructs aWebException
with no detail error code or error message.
-
WebException
public WebException(int errorCode)
Deprecated.use other constructor insteadConstructs aWebException
with the specified error code.- Parameters:
errorCode
- a detail code
-
WebException
public WebException(java.lang.String errorMsg)
Constructs aWebException
with the specified error message.- Parameters:
errorMsg
- the detail message
-
WebException
public WebException(java.lang.Throwable e)
Constructs aWebException
with the specified cause of this exception.- Parameters:
e
- the original cause of this exception
-
WebException
public WebException(java.lang.String errorMsg, int errorCode)
Constructs aWebException
with the specified error code and error message.- Parameters:
errorCode
- a detail codeerrorMsg
- the detail message
-
WebException
public WebException(java.lang.String errorMsg, java.lang.Exception e)
Constructs aWebException
with the specified error message and the original cause of this exception.- Parameters:
e
- the original cause of this exceptionerrorMsg
- the detail message
-
WebException
public WebException(int errorCode, java.lang.Exception e)
Constructs aWebException
with the specified error code and the original cause of this exception.- Parameters:
e
- the original cause of this exceptionerrorCode
- a detail code
-
WebException
public WebException(java.lang.String errorMsg, int errorCode, java.lang.Exception e)
Constructs aWebException
with the specified error code error message, and the original cause of this exception.- Parameters:
e
- the original cause of this exceptionerrorCode
- a detail codeerrorMsg
- the detail message
-
-