ALBPM Process API

fuego.papi.exception
Class InstancesNotAvailableInEngineException

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

public class InstancesNotAvailableInEngineException
extends InstanceOperationException

A InstancesNotAvailableInEngineException is thrown as a result of a failed attempt to retrieve instances from a particular Engine.

See Also:
Serialized Form

Constructor Summary
InstancesNotAvailableInEngineException(String engine, Throwable cause)
          Creates a new InstancesNotAvailableInEngineException with the given engine.
 
Method Summary
 String getDetail(Locale locale)
          This method return the detail of the exception.
 String getEngineName()
          Return the engine where didn't obtain the instances
 String getTechnicalDetail(Locale locale)
          This method return the technical detail of the exception.
 
Methods inherited from class fuego.papi.exception.InstanceOperationException
getInstanceId
 
Methods inherited from class fuego.papi.ProcessOperationException
getProcessId
 
Methods inherited from class fuego.papi.OperationException
wrap
 
Methods inherited from class fuego.lang.DefaultException
getCode, getKey, getMessage, getMessage, getStackTrace, getStackTraceString, 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

InstancesNotAvailableInEngineException

public InstancesNotAvailableInEngineException(String engine,
                                              Throwable cause)
Creates a new InstancesNotAvailableInEngineException with the given engine.

Parameters:
engine - The engine where the instance could not be retrieved.
Method Detail

getDetail

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

Overrides:
getDetail in class fuego.lang.DefaultException

getEngineName

public String getEngineName()
Return the engine where didn't obtain the instances

Returns:
Engine identification

getTechnicalDetail

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

Overrides:
getTechnicalDetail in class fuego.lang.DefaultException

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved