diff options
Diffstat (limited to 'server/src/org/jsoup/parser/ParseError.java')
-rw-r--r-- | server/src/org/jsoup/parser/ParseError.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/server/src/org/jsoup/parser/ParseError.java b/server/src/org/jsoup/parser/ParseError.java index dfa090051b..eb3c240a59 100644 --- a/server/src/org/jsoup/parser/ParseError.java +++ b/server/src/org/jsoup/parser/ParseError.java @@ -1,7 +1,8 @@ package org.jsoup.parser; /** - * A Parse Error records an error in the input HTML that occurs in either the tokenisation or the tree building phase. + * A Parse Error records an error in the input HTML that occurs in either the + * tokenisation or the tree building phase. */ public class ParseError { private int pos; @@ -13,12 +14,13 @@ public class ParseError { } ParseError(int pos, String errorFormat, Object... args) { - this.errorMsg = String.format(errorFormat, args); + errorMsg = String.format(errorFormat, args); this.pos = pos; } /** * Retrieve the error message. + * * @return the error message. */ public String getErrorMessage() { @@ -27,6 +29,7 @@ public class ParseError { /** * Retrieves the offset of the error. + * * @return error offset within input */ public int getPosition() { |