java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | com.microstrategy.utils.MSTRCheckedException | ||||
↳ | com.microstrategy.web.beans.WebException | ||||
↳ | com.microstrategy.web.app.WebAppException |
Exception class for all errors thrown from the Web app objects. This class extends the standard Exception
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 error that can be solved through user input is generated.
The symbolic constants for each error code are in the class WebAppErrorCodes.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
WebAppException()
WebAppConfigurationRuntimeException default constructor.
| |||||||||||
WebAppException(int errorCode)
This constructor is deprecated.
use other constructor instead
| |||||||||||
WebAppException(String errorMsg)
Constructor to set a message, but no error code.
| |||||||||||
WebAppException(Exception e)
Constructor to create an exception with just based on a previous exception.
| |||||||||||
WebAppException(WebObjectsException e)
Constructor to create an exception with just based on a previous exception.
| |||||||||||
WebAppException(WebException e)
Constructor to create an exception with just based on a previous exception.
| |||||||||||
WebAppException(String errorMsg, int errorCode)
Constructor to set a message and error code.
| |||||||||||
WebAppException(String errorMsg, Exception e)
Constructor to set a message and the original exception
| |||||||||||
WebAppException(int errorCode, Exception e)
Constructor to set an error code and an original Exception
| |||||||||||
WebAppException(String errorMsg, int errorCode, Exception e)
Constructor to set a message, an error code and an original Exception
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
WebAppConfigurationRuntimeException default constructor. Sets all fields in the object to empty values.
This constructor is deprecated.
use other constructor instead
Constructor to create an exception with just an error code, no message.
errorCode | The error code to set that field to upon creation. |
---|
Constructor to set a message, but no error code.
errorMsg | The error message associated with this exception |
---|
Constructor to create an exception with just based on a previous exception.
e | The original Exception |
---|
Constructor to create an exception with just based on a previous exception.
e | The original Exception |
---|
Constructor to create an exception with just based on a previous exception.
e | The original Exception |
---|
Constructor to set a message and error code.
errorMsg | The error message associated with this exception |
---|---|
errorCode | The error code to set that field to upon creation. |
Constructor to set a message and the original exception
errorMsg | The error message associated with this exception |
---|---|
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 to set a message, an error code and an original Exception
errorMsg | The error message associated with this exception |
---|---|
errorCode | The error code to set that field to upon creation. |
e | The original Exception |