Fuego Process API

fuego.papi.exception
Class InstanceNotAvailableException

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.InstanceNotAvailableException
All Implemented Interfaces:
Serializable

public class InstanceNotAvailableException
extends InstanceOperationException

See Also:
Serialized Form

Constructor Summary
InstanceNotAvailableException(String instanceId, Throwable cause)
          Creates a new InstanceNotAvailableException with the given instanceId and initial exception.
 
Method Summary
 String getDetail(Locale locale)
          This method return the detail of the exception.
 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

InstanceNotAvailableException

public InstanceNotAvailableException(String instanceId,
                                     Throwable cause)
Creates a new InstanceNotAvailableException with the given instanceId and initial exception.

Parameters:
instanceId - InstanceId that not available.
cause - Initial exception.
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.


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