| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | com.microstrategy.utils.MSTRCheckedException | |||
| ↳ | com.microstrategy.webservices.MWSException | |||
The class MWSException is a subclass of java.lang.Exception. This is an exception class for all errors thrown by the MicroStrategy Web Services code. This class extends the standard Exception class by providing a method to return an error code associated with the exception.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
MWSException()
Constructor
| |||||||||||
|
MWSException(String errorMsg)
Constructor
| |||||||||||
|
MWSException(int errorCode)
Constructor
| |||||||||||
|
MWSException(String errorMsg, int errorCode)
Constructor
| |||||||||||
|
MWSException(String errorMsg, int errorCode, Throwable e)
Constructor
| |||||||||||
|
MWSException(Throwable e)
Constructor
| |||||||||||
|
MWSException(LocalizableMessage errorMsg)
Constructor
| |||||||||||
|
MWSException(LocalizableMessage errorMsg, Throwable e)
Constructor
| |||||||||||
|
MWSException(int errorCode, Object[] params, Locale locale)
Constructor
| |||||||||||
|
MWSException(int errorCode, Object[] params, Throwable e, Locale locale)
Constructor
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String |
getStackTraceString()
Converts PrintStream version of stack trace to String.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.utils.MSTRCheckedException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.microstrategy.utils.LocalizableException
| |||||||||||
Constructor
Constructor
| errorMsg | Error message text. |
|---|
Constructor
| errorCode | Exception error code. |
|---|
Constructor
| errorMsg | Error message text. |
|---|---|
| errorCode | Exception error code. |
Constructor
| errorMsg | Error message text. |
|---|---|
| errorCode | Exception error code. |
| e | Associated nested exception. |
Constructor
| e | Associated nested exception. |
|---|
Constructor
| errorMsg | Localizable error message. |
|---|
Constructor
| errorMsg | Localizable error message. |
|---|---|
| e | Associated nested exception. |
Constructor
| errorCode | Exception error code. |
|---|---|
| params | Parameters to message associated with errorCode. |
| locale | Default locale of message associated with errorCode. |
Constructor
| errorCode | Exception error code. |
|---|---|
| params | Parameters to message associated with errorCode. |
| e | Associated nested exception. |
| locale | Default locale of message associated with errorCode. |
Converts PrintStream version of stack trace to String.