java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | com.microstrategy.utils.MSTRCheckedException | ||||
↳ | com.microstrategy.webapi.MSTRWebAPIException | ||||
↳ | com.microstrategy.webapi.MSTRDocumentException |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MSTRDocumentException(LocalizableMessage errorMsg)
Construtor.
| |||||||||||
MSTRDocumentException(LocalizableMessage errorMsg, Throwable e)
Construtor.
| |||||||||||
MSTRDocumentException(int code, Object[] params, Locale locale)
Construtor.
| |||||||||||
MSTRDocumentException(int code, Object[] params, Throwable e, Locale locale)
Construtor.
| |||||||||||
MSTRDocumentException(String errorMsg)
Constructor.
| |||||||||||
MSTRDocumentException(String errorMsg, int errorCode)
Constructor.
| |||||||||||
MSTRDocumentException(String errorMsg, int errorCode, Throwable e)
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getMessage()
Returns the error message.
| ||||||||||
String | getMessage(boolean includeMainMessage, boolean includeReportMessages, String newline) | ||||||||||
String | getReportErrorMessage(int index) | ||||||||||
String | getReportID(int index) | ||||||||||
String | getReportName(int index) | ||||||||||
int | size() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Construtor.
errorMsg | The error message for this exception. |
---|
Construtor.
errorMsg | The error message for this exception. |
---|---|
e | The embedded error. |
Construtor.
code | Error code for this exception. |
---|---|
params | The parameters required to generate the error message based on the error code. |
locale | The default locale for this exception. |
Construtor.
code | Error code for this exception. |
---|---|
params | The parameters required to generate the error message based on the error code. |
e | Embedded error. |
locale | The default locale for this exception. |
Constructor.
errorMsg | Error message. |
---|
Constructor.
errorMsg | Error message |
---|---|
errorCode | Error code |
Constructor.
errorMsg | Error message |
---|---|
errorCode | Error code |
e | Embedded error. |
Returns the error message. If this is null and the error code is
0, it will first examine if there is an embedded exception getCause()
, if so and it is
either a MSTRCheckedException or MSTRUncheckedException, it will attempt
to return their error message instead (recursively searching). If the
message is not null or the error code is non-zero, the message of
this exception is returned.