ALBPM Process API

fuego.papi.exception
Class NoPermissionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by fuego.lang.DefaultException
              extended by fuego.papi.OperationException
                  extended by fuego.papi.ParticipantException
                      extended by fuego.papi.exception.PrivilegedOperationException
                          extended by fuego.papi.exception.NoPermissionException
All Implemented Interfaces:
Serializable

public class NoPermissionException
extends PrivilegedOperationException

A NoPermissionException is thrown when the participant has not permission to abort."

See Also:
Serialized Form

Field Summary
static int ACTIVITY_NOT_ABORTABLE
           
static int ACTIVITY_NOT_SUSPEND
           
static int ANOTHER_USER_RUN
           
static int AUTO_RESUME_INST
           
static int AUTOSELECT
           
static int CAN_NOT_A
           
static int CAN_NOT_CREATE_SUBFLOW
           
static int CAN_NOT_R
           
static int CAN_NOT_S
           
static int CAN_NOT_STORE
           
static int CAN_NOT_X
           
static int CAN_NOT_X_BEGIN
           
static int DEFAULT
           
static int LIMIT_RUN_INSTANCES
           
static int ROUTING_AUTOMATIC
           
static int SELECTED_BY_OTHER
           
static int UNGRAB_BY_OTHER
           
 
Constructor Summary
NoPermissionException(int type, String participant)
          Creates a new NoPermissionException with the given msgCode and participant.
NoPermissionException(int type, String participant, String role)
          Creates a new NoPermissionException with the given msgCode, participant and role.
NoPermissionException(String participant)
          Creates a new NoPermissionException with the given participant.
NoPermissionException(String participant, String instanceId, String activityId)
          Creates a new NoPermissionException with the given msgCode, participant and role.
 
Method Summary
 
Methods inherited from class fuego.papi.ParticipantException
getParticipantId
 
Methods inherited from class fuego.papi.OperationException
wrap
 
Methods inherited from class fuego.lang.DefaultException
getCode, getDetail, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, getTechnicalDetail, getUserMessage, hasDetail
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CAN_NOT_A

public static final int CAN_NOT_A
See Also:
Constant Field Values

ACTIVITY_NOT_ABORTABLE

public static final int ACTIVITY_NOT_ABORTABLE
See Also:
Constant Field Values

CAN_NOT_CREATE_SUBFLOW

public static final int CAN_NOT_CREATE_SUBFLOW
See Also:
Constant Field Values

CAN_NOT_X_BEGIN

public static final int CAN_NOT_X_BEGIN
See Also:
Constant Field Values

CAN_NOT_X

public static final int CAN_NOT_X
See Also:
Constant Field Values

SELECTED_BY_OTHER

public static final int SELECTED_BY_OTHER
See Also:
Constant Field Values

AUTOSELECT

public static final int AUTOSELECT
See Also:
Constant Field Values

ANOTHER_USER_RUN

public static final int ANOTHER_USER_RUN
See Also:
Constant Field Values

ROUTING_AUTOMATIC

public static final int ROUTING_AUTOMATIC
See Also:
Constant Field Values

LIMIT_RUN_INSTANCES

public static final int LIMIT_RUN_INSTANCES
See Also:
Constant Field Values

CAN_NOT_R

public static final int CAN_NOT_R
See Also:
Constant Field Values

CAN_NOT_STORE

public static final int CAN_NOT_STORE
See Also:
Constant Field Values

UNGRAB_BY_OTHER

public static final int UNGRAB_BY_OTHER
See Also:
Constant Field Values

CAN_NOT_S

public static final int CAN_NOT_S
See Also:
Constant Field Values

ACTIVITY_NOT_SUSPEND

public static final int ACTIVITY_NOT_SUSPEND
See Also:
Constant Field Values

AUTO_RESUME_INST

public static final int AUTO_RESUME_INST
See Also:
Constant Field Values

DEFAULT

public static final int DEFAULT
See Also:
Constant Field Values
Constructor Detail

NoPermissionException

public NoPermissionException(String participant)
Creates a new NoPermissionException with the given participant.

Parameters:
participant - Participant name.

NoPermissionException

public NoPermissionException(int type,
                             String participant)
Creates a new NoPermissionException with the given msgCode and participant.

Parameters:
type - Code of the message about permission type.
participant - Participant id.

NoPermissionException

public NoPermissionException(int type,
                             String participant,
                             String role)
Creates a new NoPermissionException with the given msgCode, participant and role.

Parameters:
type - Code of the message about permission type.
participant - Participant id.
role - Role id.

NoPermissionException

public NoPermissionException(String participant,
                             String instanceId,
                             String activityId)
Creates a new NoPermissionException with the given msgCode, participant and role.

Parameters:
participant - Participant id.
instanceId - Instance id.
activityId - Activity id.

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved