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.WebEventHandlerrelies 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.MSTRCheckedExceptionMSTRCheckedException.ExceptionXMLHandler
 
- 
 - 
Constructor SummaryConstructors Constructor Description WebException()Constructs aWebExceptionwith no detail error code or error message.WebException(int errorCode)Deprecated.use other constructor insteadWebException(int errorCode, java.lang.Exception e)Constructs aWebExceptionwith 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 aWebExceptionwith the specified error message.WebException(LocalizableMessage errorMsg, java.lang.Throwable e)Constructs aWebExceptionwith the specified error message, and the original cause of this exception.WebException(java.lang.String errorMsg)Constructs aWebExceptionwith the specified error message.WebException(java.lang.String errorMsg, int errorCode)Constructs aWebExceptionwith the specified error code and error message.WebException(java.lang.String errorMsg, int errorCode, java.lang.Exception e)Constructs aWebExceptionwith the specified error code error message, and the original cause of this exception.WebException(java.lang.String errorMsg, java.lang.Exception e)Constructs aWebExceptionwith the specified error message and the original cause of this exception.WebException(java.lang.Throwable e)Constructs aWebExceptionwith the specified cause of this exception.
 - 
Method Summary- 
Methods inherited from class com.microstrategy.utils.MSTRCheckedExceptiongetCause, getDefaultLocale, getErrorCode, getLocalizableMessage, getMessage, getMessage, getMessage, getRootCause, getRootCause, setCause, setDefaultLocale, setXMLHandler
 
- 
 
- 
- 
- 
Constructor Detail- 
WebExceptionpublic WebException(LocalizableMessage errorMsg) Constructs aWebExceptionwith the specified error message.- Parameters:
- errorMsg- the detail message
- Since:
- MicroStrategy Web 8.0.0
 
 - 
WebExceptionpublic WebException(LocalizableMessage errorMsg, java.lang.Throwable e) Constructs aWebExceptionwith the specified error message, and the original cause of this exception.- Parameters:
- e- the original cause of this exception
- errorMsg- the detail message
- Since:
- MicroStrategy Web 8.0.0
 
 - 
WebExceptionpublic WebException(int code, java.lang.Object[] params, java.util.Locale locale)Deprecated.use other constructor insteadConstructs aWebExceptionwith the specified error code, message parameters and locale.- Parameters:
- code- a detail code
- params- the error message parameters to substitute
- locale- the- Localeto localize the error message
- Since:
- MicroStrategy Web 8.0.0
 
 - 
WebExceptionpublic WebException(int code, java.lang.Object[] params, java.lang.Throwable e, java.util.Locale locale)Deprecated.use other constructor insteadConstructs aWebExceptionwith 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- Localeto localize the error message
- Since:
- MicroStrategy Web 8.0.0
 
 - 
WebExceptionpublic WebException() Constructs aWebExceptionwith no detail error code or error message.
 - 
WebExceptionpublic WebException(int errorCode) Deprecated.use other constructor insteadConstructs aWebExceptionwith the specified error code.- Parameters:
- errorCode- a detail code
 
 - 
WebExceptionpublic WebException(java.lang.String errorMsg) Constructs aWebExceptionwith the specified error message.- Parameters:
- errorMsg- the detail message
 
 - 
WebExceptionpublic WebException(java.lang.Throwable e) Constructs aWebExceptionwith the specified cause of this exception.- Parameters:
- e- the original cause of this exception
 
 - 
WebExceptionpublic WebException(java.lang.String errorMsg, int errorCode)Constructs aWebExceptionwith the specified error code and error message.- Parameters:
- errorCode- a detail code
- errorMsg- the detail message
 
 - 
WebExceptionpublic WebException(java.lang.String errorMsg, java.lang.Exception e)Constructs aWebExceptionwith the specified error message and the original cause of this exception.- Parameters:
- e- the original cause of this exception
- errorMsg- the detail message
 
 - 
WebExceptionpublic WebException(int errorCode, java.lang.Exception e)Constructs aWebExceptionwith the specified error code and the original cause of this exception.- Parameters:
- e- the original cause of this exception
- errorCode- a detail code
 
 - 
WebExceptionpublic WebException(java.lang.String errorMsg, int errorCode, java.lang.Exception e)Constructs aWebExceptionwith the specified error code error message, and the original cause of this exception.- Parameters:
- e- the original cause of this exception
- errorCode- a detail code
- errorMsg- the detail message
 
 
- 
 
-