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
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
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 instanceUUID,
java.lang.String userId)
- Constructs an UnAuthorizedUserException for instance.
TaskUUID is set to null.
- Parameters:
msg
- the detail message.instanceUUID
- the instance processDefinitionUUID.userId
- the user processDefinitionUUID.
UnAuthorizedUserException
public UnAuthorizedUserException(java.lang.String msg,
java.lang.String instanceUUID,
org.ow2.bonita.facade.uuid.TaskUUID taskUUID,
java.lang.String userId)
- Constructs an UnAuthorizedUserException for task.
- Parameters:
msg
- the detail message.instanceUUID
- the instance processDefinitionUUID.taskUUID
- the task processDefinitionUUID.userId
- the user processDefinitionUUID.
UnAuthorizedUserException
public UnAuthorizedUserException(UnAuthorizedUserException e)
UnAuthorizedUserException
public UnAuthorizedUserException(java.lang.String msg,
org.ow2.bonita.facade.uuid.TaskUUID taskUUID,
java.lang.String userId)
build
public static UnAuthorizedUserException build(java.lang.Throwable e)
getTaskUUID
public org.ow2.bonita.facade.uuid.TaskUUID getTaskUUID()
getInstanceUUID
public java.lang.String getInstanceUUID()
getUserId
public java.lang.String getUserId()
Copyright © 2009 OW2 Consortium. All Rights Reserved.