org.inria.ns.reflex.structures
Class UnrecoverableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.inria.ns.reflex.structures.LocalizableException
              extended by org.inria.ns.reflex.structures.ExecutionException
                  extended by org.inria.ns.reflex.structures.UnrecoverableException
All Implemented Interfaces:
Serializable, Localizable
Direct Known Subclasses:
EngineCorruptedException

public class UnrecoverableException
extends ExecutionException

This exception occurs when an action fails and can't be recovered, for example when a basic service of the engine fails, such as when the implementation of an active tag is missing.

If a fallback action fails to recover a recoverable exception, this exception is also useful to avoid an exception to be recovered several times.

Author:
Philippe Poulard
See Also:
RecoverableException, Serialized Form

Constructor Summary
UnrecoverableException(Localizable localizable, String msg)
          Constructs a new UnrecoverableException with the specified detail message and cause.
UnrecoverableException(Localizable localizable, String message, Throwable cause)
          Constructs a new UnrecoverableException with the specified detail message and cause.
UnrecoverableException(Localizable localizable, Throwable cause)
          Constructs a new UnrecoverableException with the specified detail message and cause.
UnrecoverableException(String message, AbstractAction action)
          Constructs a new UnrecoverableException with the specified detail message.
UnrecoverableException(String message, Throwable cause, AbstractAction action)
          Constructs a new UnrecoverableException with the specified detail message and cause.
UnrecoverableException(Throwable cause, AbstractAction action)
          Constructs a new UnrecoverableException with the specified cause.
 
Method Summary
 
Methods inherited from class org.inria.ns.reflex.structures.ExecutionException
getLocalizedMessage
 
Methods inherited from class org.inria.ns.reflex.structures.LocalizableException
getLocation, isLocalizable, setLocation, wasTraced
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnrecoverableException

public UnrecoverableException(String message,
                              AbstractAction action)
Constructs a new UnrecoverableException with the specified detail message.

Parameters:
message - The detail message.
action - The non-null action that cause the error.

UnrecoverableException

public UnrecoverableException(String message,
                              Throwable cause,
                              AbstractAction action)
Constructs a new UnrecoverableException with the specified detail message and cause.

Parameters:
message - The detail message.
cause - The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.
action - The non-null action that cause the error.

UnrecoverableException

public UnrecoverableException(Throwable cause,
                              AbstractAction action)
Constructs a new UnrecoverableException with the specified cause.

Parameters:
cause - The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.
action - The non-null action that cause the error.

UnrecoverableException

public UnrecoverableException(Localizable localizable,
                              String msg)
Constructs a new UnrecoverableException with the specified detail message and cause.

Parameters:
localizable - The localizable that contains the source file in fault, or null.
message - The detail message.
cause - The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.

UnrecoverableException

public UnrecoverableException(Localizable localizable,
                              String message,
                              Throwable cause)
Constructs a new UnrecoverableException with the specified detail message and cause.

Parameters:
localizable - The localizable that contains the source file in fault, or null.
message - The detail message.
cause - The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.

UnrecoverableException

public UnrecoverableException(Localizable localizable,
                              Throwable cause)
Constructs a new UnrecoverableException with the specified detail message and cause.

Parameters:
localizable - The localizable that contains the source file in fault, or null.
message - The detail message.
cause - The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown.