ALBPM Process API

fuego.papi
Class EngineRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by fuego.lang.DefaultRuntimeException
                  extended by fuego.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.Msg 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, 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.Msg 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.

ALBPM Process API

© Copyright 1996/2005 Fuego Inc. All Rights Reserved