/** * Returns a {@link ParseException} with the line and column numbers of * the previous token in the description, suitable for throwing. */ public ParseException parseExceptionPreviousToken( final String description) { // Note: People generally prefer one-based line and column numbers. return new ParseException( previousLine + 1, previousColumn + 1, description); }
/** * Returns a {@link ParseException} with the line and column numbers of * the previous token in the description, suitable for throwing. */ public ParseException parseExceptionPreviousToken( final String description) { // Note: People generally prefer one-based line and column numbers. return new ParseException( previousLine + 1, previousColumn + 1, description); }
/** * Returns a {@link ParseException} with the line and column numbers of * the previous token in the description, suitable for throwing. */ public ParseException parseExceptionPreviousToken( final String description) { // Note: People generally prefer one-based line and column numbers. return new ParseException( previousLine + 1, previousColumn + 1, description); }
/** * Returns a {@link ParseException} with the current line and column * numbers in the description, suitable for throwing. */ public ParseException parseException(final String description) { // Note: People generally prefer one-based line and column numbers. return new ParseException( line + 1, column + 1, description); }
/** * Returns a {@link ParseException} with the current line and column * numbers in the description, suitable for throwing. */ public ParseException parseException(final String description) { // Note: People generally prefer one-based line and column numbers. return new ParseException( line + 1, column + 1, description); }
/** * Returns a {@link ParseException} with the current line and column * numbers in the description, suitable for throwing. */ public ParseException parseException(final String description) { // Note: People generally prefer one-based line and column numbers. return new ParseException( line + 1, column + 1, description); }