Fuego Process API

fuego.papi.exception
Class InstancesNotAvailableInEngineException

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

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.


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.


Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved