com.microstrategy.web.objects.actions.HandlerStatusCodes |
![]() |
This interface defines the status codes that can be returned for Tasks. They are modeled after the HTTP Status codes, though not strictly. These code are open to diverge from the HTTP standard, if necessary.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TASK_INTERNAL_ERROR | This status code indicates that while the Task seems to be properly configured and the input request is well formed, an unexpected error occured. | |||||||||
int | TASK_MISCONFIGURED | This status code indicates while that a valid Task was requested and properly formed, the Task itself was misconfigured. | |||||||||
int | TASK_NOT_FOUND | This status code indicates that while a Task request was made, it could not be found by any of the Task factories. | |||||||||
int | TASK_NOT_REQUESTED | This status code indicates that the Task Processor Controller was invoked, though no Task was requested. | |||||||||
int | TASK_REQUEST_MALFORMED | This status code indicates that while a Task request was made, and the Task was located, the request was malformed. | |||||||||
int | TASK_REQUEST_RESUBMIT | This status code indicates that the process is taking time on the i-server and the client can resubmit the task to keep the client<->web-server session alive OR perform some other action knowing that the results are not ready yet | |||||||||
int | TASK_SUCCESS | This is the success status code. | |||||||||
int | TASK_UNAUTHORIZED | This status code indicates that current user is not authorized to execute the requested task. |
This status code indicates that while the Task seems to be properly configured and the input request is well formed, an unexpected error occured. Subsequent attempts (with the same or different parameters) may succeed. A specific error code is included the response to assist the caller in diagnosing the problem.
This status code indicates while that a valid Task was requested and properly formed, the Task itself was misconfigured. The Task could not produce a valid response to the request for any number of reasons. The essential fact here is that the Task should no longer be invoked. No amount of user input modifications will produce a valid output.
This status code indicates that while a Task request was made, it could not be found by any of the Task factories.
This status code indicates that the Task Processor Controller was invoked, though no Task was requested.
This status code indicates that while a Task request was made, and the Task was located, the request was malformed. This may be the case if any number of required parameters were absent or malformed. This also consists of a class of validation errors, those that cannot be performed by the Task Infrastructure, but by the Task itself. Essentially, these exceptions indicate some form of user error. The Task is properly configured, but due to the input parameters, was unable to complete.
This status code indicates that the process is taking time on the i-server and the client can resubmit the task to keep the client<->web-server session alive OR perform some other action knowing that the results are not ready yet
This is the success status code. A Task request was made, the request was well-formed and the Task was properly configured.
This status code indicates that current user is not authorized to execute the requested task. This might happen if user tries to execute an administrative task with regular task processor while the admin processor should be used.