Changed IllegalArgumentException to ParsingException