Class Overview
This exception 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.
Summary
[Expand]
Inherited Constants |
From interface
com.microstrategy.web.tasks.TaskStatusCodes
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. |
|
[Expand]
Inherited Methods |
From class
com.microstrategy.web.tasks.TaskException
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.
|
|
From class
java.lang.Throwable
synchronized
final
void
|
addSuppressed(Throwable arg0)
|
synchronized
Throwable
|
fillInStackTrace()
|
synchronized
Throwable
|
getCause()
|
String
|
getLocalizedMessage()
|
String
|
getMessage()
|
StackTraceElement[]
|
getStackTrace()
|
synchronized
final
Throwable[]
|
getSuppressed()
|
synchronized
Throwable
|
initCause(Throwable arg0)
|
void
|
printStackTrace()
|
void
|
printStackTrace(PrintWriter arg0)
|
void
|
printStackTrace(PrintStream arg0)
|
void
|
setStackTrace(StackTraceElement[] arg0)
|
String
|
toString()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
TaskUnauthorizedException
(String msg)
Creates a new TaskUnauthorizedException object.
Parameters
msg |
The error message to associate with this exception.
|