java.lang.Object | |||
↳ | java.lang.Throwable | ||
↳ | java.lang.Exception | ||
↳ | com.microstrategy.web.tasks.TaskException |
![]() |
This is the base class for a set of task-related exceptions.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TaskException(String msg)
Creates a new TaskException object.
| |||||||||||
TaskException(Throwable e)
Creates a new TaskException object.
| |||||||||||
TaskException(String message, Throwable e)
Creates a new TaskException object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getGenericMessage()
Returns the generic message for this exception.
| ||||||||||
int |
getStatusCode()
Returns the Status code associated with this exception.
| ||||||||||
Integer |
getTaskErrorCode()
Returns the Task Error Code associated with this exception.
| ||||||||||
void |
setGenericMessage(String genericMessage)
Sets the generic message for this exception.
| ||||||||||
void |
setStatusCode(int statusCode)
Sets the Status code associated with this exception.
| ||||||||||
void |
setTaskErrorCode(int taskErrCode)
Sets the Task Error Code for this exception.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new TaskException object.
msg | Error message |
---|
Creates a new TaskException object.
e | Exception |
---|
Creates a new TaskException object.
message | Error message |
---|---|
e | Exception |
Returns the generic message for this exception.
Returns the Status code associated with this exception.
Returns the Task Error Code associated with this exception.
Sets the generic message for this exception.
genericMessage | generic message |
---|
Sets the Status code associated with this exception.
statusCode | The Status code associated with this exception. |
---|
Sets the Task Error Code for this exception.
taskErrCode | An integer, task-specific error code. |
---|