org.ow2.bonita.facade.exception
Class UnAuthorizedUserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ow2.bonita.util.BonitaException
org.ow2.bonita.facade.exception.UnAuthorizedUserException
- All Implemented Interfaces:
- java.io.Serializable
public class UnAuthorizedUserException
- extends org.ow2.bonita.util.BonitaException
This exception is thrown when a user attemps to execute an unauthorized action.
- Author:
- Marc Blachon, Guillaume Porcher, Charles Souillard, Miguel Valdes, Pierre Vigneras.
- See Also:
- Serialized Form
Constructor Summary |
UnAuthorizedUserException(java.lang.String msg,
java.lang.String instanceId,
java.lang.String userId)
Constructs an UnAuthorizedUserException for instance. |
UnAuthorizedUserException(java.lang.String msg,
java.lang.String instanceId,
java.lang.String taskId,
java.lang.String userId)
Constructs an UnAuthorizedUserException for task. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UnAuthorizedUserException
public UnAuthorizedUserException(java.lang.String msg,
java.lang.String instanceId,
java.lang.String userId)
- Constructs an UnAuthorizedUserException for instance.
TaskId is set to null.
- Parameters:
msg
- the detail message.instanceId
- the instance id.userId
- the user id.
UnAuthorizedUserException
public UnAuthorizedUserException(java.lang.String msg,
java.lang.String instanceId,
java.lang.String taskId,
java.lang.String userId)
- Constructs an UnAuthorizedUserException for task.
- Parameters:
msg
- the detail message.instanceId
- the instance id.taskId
- the task id.userId
- the user id.
getTaskId
public java.lang.String getTaskId()
getInstanceId
public java.lang.String getInstanceId()
getuserId
public java.lang.String getuserId()