ALBPM Process API (PAPI)

fuego.papi
Class EngineRuntimeException

java.lang.Object
  extended byDefaultRuntimeException
      extended byfuego.papi.EngineRuntimeException
Direct Known Subclasses:
BusinessParameterNotFoundException, InvalidArgumentSetNameException, ProcessLockedException, ProcessUndeployedException

public class EngineRuntimeException
extends 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()
          Creates a new EngineRuntimeException with the default message.
EngineRuntimeException(fuego.resources.Msg msg)
          Creates a new EngineRuntimeException with the specified message.
 
Method Summary
static EngineRuntimeException create(RuntimeException re, Locale locale)
          Returns a new EngineRuntimeException with the given RuntimeException and locale.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineRuntimeException

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


EngineRuntimeException

public EngineRuntimeException(fuego.resources.Msg msg)
Creates a new EngineRuntimeException with the specified message.

Parameters:
msg - message to display in the exception.
Method Detail

create

public static EngineRuntimeException create(RuntimeException re,
                                            Locale locale)
Returns 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:
Returns a EngineRuntimeException with the messages of the initial exception.

ALBPM Process API (PAPI)

© Copyright 1996/2005 Fuego Inc. All Rights Reserved