ALBPM Process API (PAPI)

fuego.papi
Class ProcessNotAvailableException

java.lang.Object
  extended byDefaultException
      extended byfuego.papi.OperationException
          extended byfuego.papi.ProcessNotAvailableException
Direct Known Subclasses:
ProcessDeprecatedException, ProcessNotFoundException, ProcessNotVisibleException

public class ProcessNotAvailableException
extends OperationException

Thrown when a Process is not available. This usually means that the Engine where the Process is deployed could not be reached.

See Also:
Serialized Form

Constructor Summary
ProcessNotAvailableException()
          Creates a new ProcessNotAvailableException object.
ProcessNotAvailableException(String processId)
          Creates a new ProcessNotAvailableException object.
ProcessNotAvailableException(String processId, String directoryURL)
          Creates a new ProcessNotAvailableException object.
ProcessNotAvailableException(String processId, String directoryURL, Throwable cause)
           
ProcessNotAvailableException(String processId, Throwable cause)
          Creates a new ProcessNotAvailableException object.
 
Method Summary
static ProcessNotAvailableException cannotFindEJB(String processId, String lookupName, Throwable t)
          For internal use only.
static ProcessNotAvailableException classCastOnNarrow(String processId, String lookupName, ClassCastException t)
          For internal use only.
 String getDetail(Locale locale)
          Returns the detail of the exception.
 String getProcessId()
          Gets the Id of the process not available.
 String getTechnicalDetail(Locale locale)
          Returns the technical detail of the exception.
 
Methods inherited from class fuego.papi.OperationException
wrap
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessNotAvailableException

public ProcessNotAvailableException()
Creates a new ProcessNotAvailableException object.


ProcessNotAvailableException

public ProcessNotAvailableException(String processId)
Creates a new ProcessNotAvailableException object.

Parameters:
processId - process Id not available.

ProcessNotAvailableException

public ProcessNotAvailableException(String processId,
                                    String directoryURL)
Creates a new ProcessNotAvailableException object.

Parameters:
processId - process Id not available.
directoryURL - url of the directory.

ProcessNotAvailableException

public ProcessNotAvailableException(String processId,
                                    Throwable cause)
Creates a new ProcessNotAvailableException object.

Parameters:
processId - process Id not available.
cause - the problem which generated the exception.

ProcessNotAvailableException

public ProcessNotAvailableException(String processId,
                                    String directoryURL,
                                    Throwable cause)
Method Detail

cannotFindEJB

public static ProcessNotAvailableException cannotFindEJB(String processId,
                                                         String lookupName,
                                                         Throwable t)
For internal use only.


classCastOnNarrow

public static ProcessNotAvailableException classCastOnNarrow(String processId,
                                                             String lookupName,
                                                             ClassCastException t)
For internal use only.


getDetail

public String getDetail(Locale locale)
Returns the detail of the exception. If this exception has cause return the detail of the cause.

Parameters:
locale - Locale to localize the detail of the exception.
Returns:
the detail of the exception.

getProcessId

public String getProcessId()
Gets the Id of the process not available.

Returns:
Id of the process not available.

getTechnicalDetail

public String getTechnicalDetail(Locale locale)
Returns the technical detail of the exception. If this exception has cause return the technical detail of the cause.

Parameters:
locale - Locale to localize the technical detail of the exception.
Returns:
the technical detail of the exception.

ALBPM Process API (PAPI)

© Copyright 1996/2005 Fuego Inc. All Rights Reserved