org.inria.ns.reflex.structures
Class UnlocalizableException

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

public class UnlocalizableException
extends IgnorableException

An UnlocalizableException is thrown by a Localizable that doesn't really implement the methods.

If a base URI is irrelevant for a component, such as a pre-compiled component, this exception must be thrown. In this case (as this is an IgnorableException), an alternate base URI could be used by the invoker, such as the user directory, the current directory, or a fallback directory or file.

Author:
Philippe Poulard
See Also:
UNLOCALIZABLE_EXCEPTION, Serialized Form

Field Summary
static UnlocalizableException UNLOCALIZABLE_EXCEPTION
          A default empty exception ready to thrown, suitable to most usage.
 
Constructor Summary
UnlocalizableException(Localizable localizable, String msg)
          Constructs a new UnlocalizableException with the specified detail message.
UnlocalizableException(Localizable localizable, String message, Throwable cause)
          Constructs a new UnlocalizableException with the specified detail message and cause.
UnlocalizableException(Localizable localizable, Throwable cause)
          Constructs a new UnlocalizableException with the specified cause.
UnlocalizableException(String message, AbstractAction action)
          Constructs a new UnlocalizableException with the specified detail message.
UnlocalizableException(String message, Throwable cause, AbstractAction action)
          Constructs a new UnlocalizableException with the specified detail message and cause.
UnlocalizableException(Throwable cause, AbstractAction action)
          Constructs a new UnlocalizableException with the specified cause.
 
Method Summary
 
Methods inherited from class org.inria.ns.reflex.structures.IgnorableException
isIgnorable
 
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
 

Field Detail

UNLOCALIZABLE_EXCEPTION

public static final UnlocalizableException UNLOCALIZABLE_EXCEPTION
A default empty exception ready to thrown, suitable to most usage.

Constructor Detail

UnlocalizableException

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

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

UnlocalizableException

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

UnlocalizableException

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

UnlocalizableException

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

UnlocalizableException

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

UnlocalizableException

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