ALBPM Process API

fuego.papi.exception
Class CannotStoreNotificationException

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.ProcessOperationException
                      extended by fuego.papi.exception.CannotStoreNotificationException
All Implemented Interfaces:
Serializable

public class CannotStoreNotificationException
extends ProcessOperationException

A CannotStoreNotificationException is thrown when an attempt to notify a process fails

See Also:
Serialized Form

Constructor Summary
CannotStoreNotificationException()
          Constructor with message "PAPI-2030"
CannotStoreNotificationException(String targetProcessId, String targetActivity, String targetInstanceId, String senderInstanceId)
          Constructor with message "PAPI-2032"
CannotStoreNotificationException(String targetProcessId, String targetActivity, String targetInstanceId, String senderInstanceId, Throwable cause)
          Constructor with message "PAPI-2032"
CannotStoreNotificationException(String processId, Throwable cause)
          Constructor with message "PAPI-2031"
CannotStoreNotificationException(Throwable cause)
          Constructor with message "PAPI-2030"
 
Method Summary
 String getSenderInstanceId()
          Return the instance identification who send the notification.
 String getTargetActivityName()
          Return the activity identification where was send the notification.
 String getTargetInstanceId()
          Return the instance identification where was send the notification.
 
Methods inherited from class fuego.papi.ProcessOperationException
getProcessId
 
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
 

Constructor Detail

CannotStoreNotificationException

public CannotStoreNotificationException()
Constructor with message "PAPI-2030"


CannotStoreNotificationException

public CannotStoreNotificationException(Throwable cause)
Constructor with message "PAPI-2030"

Parameters:
cause - Cause of this exception

CannotStoreNotificationException

public CannotStoreNotificationException(String processId,
                                        Throwable cause)
Constructor with message "PAPI-2031"

Parameters:
processId - Process identification where the notification was send.
cause - Cause of this exception.

CannotStoreNotificationException

public CannotStoreNotificationException(String targetProcessId,
                                        String targetActivity,
                                        String targetInstanceId,
                                        String senderInstanceId)
Constructor with message "PAPI-2032"

Parameters:
targetProcessId - Process identification where the notification was send.
targetActivity - Activity identification where the notification was send.
targetInstanceId - Instance identification where the notification was send.
senderInstanceId - Instance identification who send the notification.

CannotStoreNotificationException

public CannotStoreNotificationException(String targetProcessId,
                                        String targetActivity,
                                        String targetInstanceId,
                                        String senderInstanceId,
                                        Throwable cause)
Constructor with message "PAPI-2032"

Parameters:
targetProcessId - Process identification where the notification was send.
targetActivity - Activity identification where the notification was send.
targetInstanceId - Instance identification where the notification was send.
senderInstanceId - Instance identification who send the notification.
cause - Cause of this exception.
Method Detail

getSenderInstanceId

public String getSenderInstanceId()
Return the instance identification who send the notification.

Returns:
Instance identification

getTargetActivityName

public String getTargetActivityName()
Return the activity identification where was send the notification.

Returns:

getTargetInstanceId

public String getTargetInstanceId()
Return the instance identification where was send the notification.

Returns:
Instance identification

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved