Class WrongTypeException

  • All Implemented Interfaces:
    Serializable

    public class WrongTypeException
    extends RuntimeException
    An exception thrown when a constraint parameter has not the expected type. This exception was created after the first version of the parser was written. It extends RuntimeException to minimize the changes to be made elsewhere in the code; a refactoring may be useful here.
    Author:
    Emmanuel Lonca - lonca@cril.fr
    See Also:
    Serialized Form
    • Constructor Detail

      • WrongTypeException

        public WrongTypeException​(String reason)
        Builds a new WrongTypeException given the reason it was thrown.
        Parameters:
        reason - the reason