org.inria.ns.reflex.structures
Class IgnorableException

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
                      extended by org.inria.ns.reflex.structures.IgnorableException
All Implemented Interfaces:
Serializable, Ignorable, Localizable
Direct Known Subclasses:
UnlocalizableException

public class IgnorableException
extends ControlableException
implements Ignorable

This exception occurs when a minor trouble can be unsilently ignored. Usually, such an error is just logged.

Author:
Philippe Poulard
See Also:
Serialized Form

Constructor Summary
IgnorableException(Localizable localizable, String msg)
          Constructs a new IgnorableException with the specified detail message.
IgnorableException(Localizable localizable, String message, Throwable cause)
          Constructs a new IgnorableException with the specified detail message and cause.
IgnorableException(Localizable localizable, Throwable cause)
          Constructs a new IgnorableException with the specified cause.
IgnorableException(String message, AbstractAction action)
          Constructs a new IgnorableException with the specified detail message.
IgnorableException(String message, Throwable cause, AbstractAction action)
          Constructs a new IgnorableException with the specified detail message and cause.
IgnorableException(Throwable cause, AbstractAction action)
          Constructs a new IgnorableException with the specified cause.
 
Method Summary
 boolean isIgnorable()
          This exception is always ignorable.
 
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

IgnorableException

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

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

IgnorableException

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

IgnorableException

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

IgnorableException

public IgnorableException(Localizable localizable,
                          String msg)
Constructs a new IgnorableException 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.

IgnorableException

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

IgnorableException

public IgnorableException(Localizable localizable,
                          Throwable cause)
Constructs a new IgnorableException 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.
Method Detail

isIgnorable

public boolean isIgnorable()
This exception is always ignorable.

Specified by:
isIgnorable in interface Ignorable
Returns:
true
See Also:
Ignorable.isIgnorable()