Fuego Process API

fuego.papi.exception
Class CannotStoreNotificationException


java.lang.Object

  extended byjava.lang.Throwable

      extended byjava.lang.Exception

          extended byfuego.lang.DefaultException

              extended byfuego.papi.OperationException

                  extended byfuego.papi.ProcessOperationException

                      extended byfuego.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, hasTechnicalDetail
 
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

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved