org.inria.ns.reflex.processor.asl.types
Class TypeFormatException

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.processor.asl.types.TypeFormatException
All Implemented Interfaces:
Serializable, Localizable

public class TypeFormatException
extends ControlableException

This exception occurs when parsing a string to typed data fails, or when a data is not of the type expected.

Author:
Philippe Poulard
See Also:
Serialized Form

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

TypeFormatException

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

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

TypeFormatException

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

TypeFormatException

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

TypeFormatException

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

TypeFormatException

public TypeFormatException(String msg)
Constructs a new TypeFormatException with the specified detail message.

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

TypeFormatException

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

TypeFormatException

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

TypeFormatException

public TypeFormatException(Throwable cause)
Constructs a new TypeFormatException with the specified cause.

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