java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.lang.RuntimeException | ||||
↳ | com.microstrategy.utils.MSTRUncheckedException | ||||
↳ | com.microstrategy.web.app.WebAppRuntimeException |
![]() |
Exception class for all errors thrown from the Web app objects for unrecoverable error.
This class extends MSTRUncheckedException
class by providing Constructors based on other exceptions, a method to retrieve the original
Exception and a method to return an error code.
All functions in the Web objects throw this object if an unexpected error or an error that cannot
be solved through user input is generated.
The symbolic constants for each error code are in the class WebAppErrorCodes.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
WebAppRuntimeException(LocalizableMessage errorMsg)
Constructor.
| |||||||||||
WebAppRuntimeException(LocalizableMessage errorMsg, Throwable e)
Constructor.
| |||||||||||
WebAppRuntimeException(int code, Object[] params, Locale locale)
This constructor is deprecated.
use other constructor instead
| |||||||||||
WebAppRuntimeException(int code, Object[] params, Throwable e, Locale locale)
This constructor is deprecated.
use other constructor instead
| |||||||||||
WebAppRuntimeException()
Constructor.
| |||||||||||
WebAppRuntimeException(int errorCode)
This constructor is deprecated.
use other constructor instead
| |||||||||||
WebAppRuntimeException(String errorMsg)
Constructor.
| |||||||||||
WebAppRuntimeException(Exception e)
Constructor.
| |||||||||||
WebAppRuntimeException(String errorMsg, int errorCode) | |||||||||||
WebAppRuntimeException(String errorMsg, Exception e)
Constructor to set an error message and an original Exception
| |||||||||||
WebAppRuntimeException(int errorCode, Exception e)
Constructor to set an error code and an original Exception
| |||||||||||
WebAppRuntimeException(String errorMsg, int errorCode, Exception e)
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Exception |
getWrappedException()
This method is deprecated.
Use
getCause() instead.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructor.
errorMsg | The error message for this exception. |
---|
Constructor.
errorMsg | The error message for this exception. |
---|---|
e | The embedded error object. |
This constructor is deprecated.
use other constructor instead
Constructor.
code | error code. |
---|---|
params | The parameters required to constructing the error message based on error code. |
locale | The locale to localize this exception. |
This constructor is deprecated.
use other constructor instead
Constructor.
code | error code. |
---|---|
params | The parameters required to constructing the error message based on error code. |
locale | The locale to localize this exception. |
Constructor.
This constructor is deprecated.
use other constructor instead
Constructor.
errorCode | The error code for this exception. |
---|
Constructor.
errorMsg | The error message for this exception. |
---|
Constructor.
e | The embedded error. |
---|
Constructor to set an error message and an original Exception
errorMsg | The error message to set that field to upon creation. |
---|---|
e | The original Exception |
Constructor to set an error code and an original Exception
errorCode | The error code to set that field to upon creation. |
---|---|
e | The original Exception |
Constructor.
errorMsg | The error message for this exception. |
---|---|
errorCode | The error code for this exception. |
e | The original Exception |
This method is deprecated.
Use getCause()
instead.
Returns the Exception that was originally thrown and caught in the process of throwing this exception, if it exists. Note that if there was no such exception, this will return null.