Class ParserError

java.lang.Object
io.cucumber.gherkin.ParserError
Direct Known Subclasses:
ParserError.InConsistentCellCount, ParserError.NoSuchLanguage, ParserError.TagMayNotContainWhitespace, ParserError.UnexpectedEOF, ParserError.UnexpectedToken

class ParserError extends Object
  • Field Details

    • message

      private final String message
    • location

      private final @Nullable io.cucumber.messages.types.Location location
  • Constructor Details

    • ParserError

      ParserError(String message, @Nullable io.cucumber.messages.types.Location location)
  • Method Details

    • getMessage

      String getMessage()
    • getLocation

      @Nullable io.cucumber.messages.types.Location getLocation()
    • createMessage

      private static String createMessage(String message, @Nullable io.cucumber.messages.types.Location location)