Package com.microstrategy.web.tasks
Class TaskInternalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.microstrategy.web.tasks.TaskException
-
- com.microstrategy.web.tasks.TaskInternalException
-
- All Implemented Interfaces:
TaskStatusCodes
,java.io.Serializable
public class TaskInternalException extends TaskException implements TaskStatusCodes
This exception indicates an internal error, often from the Intelligence Server. Unlike a configuration error (which represents a Task which is not properly installed) and a malformed request, this exception is somewhere in the middle.- Since:
- MicroStrategy Web 8.1.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.microstrategy.web.tasks.TaskStatusCodes
TASK_FORBIDDEN, TASK_INTERNAL_ERROR, TASK_MISCONFIGURED, TASK_NOT_FOUND, TASK_NOT_REQUESTED, TASK_REQUEST_MALFORMED, TASK_REQUEST_RESUBMIT, TASK_SUCCESS, TASK_UNAUTHORIZED
-
-
Constructor Summary
Constructors Constructor Description TaskInternalException(int taskErrorCode, java.lang.String errorMsg)
Creates a new TaskInternalException.TaskInternalException(int taskErrorCode, java.lang.String errorMsg, MSTRCheckedException e)
Creates a new TaskInternalException.TaskInternalException(MSTRCheckedException e)
Creates a new TaskInternalException.
-
Method Summary
-
Methods inherited from class com.microstrategy.web.tasks.TaskException
getGenericMessage, getStatusCode, getTaskErrorCode, setGenericMessage, setStatusCode, setTaskErrorCode
-
-
-
-
Constructor Detail
-
TaskInternalException
public TaskInternalException(int taskErrorCode, java.lang.String errorMsg)
Creates a new TaskInternalException.- Parameters:
taskErrorCode
- The numeric, task-specific error code.errorMsg
- The String message.
-
TaskInternalException
public TaskInternalException(MSTRCheckedException e)
Creates a new TaskInternalException.- Parameters:
e
- AMSTRCheckedException
that contains the error code and message.
-
TaskInternalException
public TaskInternalException(int taskErrorCode, java.lang.String errorMsg, MSTRCheckedException e)
Creates a new TaskInternalException.- Parameters:
taskErrorCode
- The numeric, task-specific error code.errorMsg
- The String message.e
- AMSTRCheckedException
which is the cause.
-
-