org.inria.ns.reflex.structures
Class ControlableException

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.ControlableException
All Implemented Interfaces:
Serializable, Localizable
Direct Known Subclasses:
BreakException, ContinueException, ExitException, IgnorableException, RecoverableException, TimeoutException, TypeFormatException

public abstract class ControlableException
extends ExecutionException

This exception is thrown when the normal execution must be interrupted because a minor trouble occurs or because the normal flow process must be disrupted. After processing this error, the normal execution will go on.

Author:
Philippe Poulard
See Also:
Serialized Form

Constructor Summary
ControlableException(Localizable localizable, String msg)
          Constructs a new ControlableException with the specified detail message.
ControlableException(Localizable localizable, String message, Throwable cause)
          Constructs a new ControlableException with the specified detail message and cause.
ControlableException(Localizable localizable, Throwable cause)
          Constructs a new ControlableException with the specified cause.
ControlableException(String message, AbstractAction action)
          Constructs a new ControlableException with the specified detail message.
ControlableException(String message, Throwable cause, AbstractAction action)
          Constructs a new ControlableException with the specified detail message and cause.
ControlableException(Throwable cause, AbstractAction action)
          Constructs a new ControlableException 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

ControlableException

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

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

ControlableException

public ControlableException(String message,
                            Throwable cause,
                            AbstractAction action)
Constructs a new ControlableException 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.

ControlableException

public ControlableException(Throwable cause,
                            AbstractAction action)
Constructs a new ControlableException 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.

ControlableException

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

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.

ControlableException

public ControlableException(Localizable localizable,
                            String message,
                            Throwable cause)
Constructs a new ControlableException 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.

ControlableException

public ControlableException(Localizable localizable,
                            Throwable cause)
Constructs a new ControlableException with the specified 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.