Fuego Process API

fuego.papi
Class EngineRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byfuego.lang.DefaultRuntimeException
                  extended byfuego.papi.EngineRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BusinessParameterNotFoundException, InvalidArgumentSetNameException, ProcessLockedException, ProcessUndeployedException

public class EngineRuntimeException
extends fuego.lang.DefaultRuntimeException

No RuntimeException thrown while executing an engine operation should "travel" to PAPI. Instead, an EngineRuntimeException should wrap it and "travel" to PAPI.

Therefore, this exception should be created just in the engine side.

See Also:
Serialized Form

Constructor Summary
EngineRuntimeException()
          Contructs a new EngineRuntimeException with the default message.
EngineRuntimeException(fuego.resources.ExceptionMsg msg)
           
 
Method Summary
static EngineRuntimeException create(RuntimeException re, Locale locale)
          Return a new EngineRuntimeException with the given RuntimeException and locale.
 
Methods inherited from class fuego.lang.DefaultRuntimeException
getCause, getCode, getDetail, getKey, getMessage, getMessage, getStackTraceString, getTechnicalDetail, getUserMessage, hasDetail, hasTechnicalDetail, initCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EngineRuntimeException

public EngineRuntimeException()
Contructs a new EngineRuntimeException with the default message.


EngineRuntimeException

public EngineRuntimeException(fuego.resources.ExceptionMsg msg)
Method Detail

create

public static EngineRuntimeException create(RuntimeException re,
                                            Locale locale)
Return a new EngineRuntimeException with the given RuntimeException and locale.

Parameters:
re - It is the RuntimeException to be wrapped.
locale - Indicate the locale of the message.
Returns:
result Return a EngineRuntimeException with the messages of the initial exception.

Fuego Process API

© Copyright 1996/2003 Fuego Inc. All Rights Reserved