aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatu Saloranta <tatu.saloranta@iki.fi>2020-06-12 16:57:29 -0700
committerTatu Saloranta <tatu.saloranta@iki.fi>2020-06-12 16:57:29 -0700
commit56de216f11e5b1e2b2fba7467ab3c11a4bee4130 (patch)
tree2989342f9be44d8aecddd041214b7f29c6734aa6
parent3bb3bcca5a69d16836633ca8907fe45c7d273b54 (diff)
downloadjackson-core-56de216f11e5b1e2b2fba7467ab3c11a4bee4130.tar.gz
Minor javadoc improvement
-rw-r--r--src/main/java/com/fasterxml/jackson/core/JsonParser.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/main/java/com/fasterxml/jackson/core/JsonParser.java b/src/main/java/com/fasterxml/jackson/core/JsonParser.java
index b684b8ed..93e76fa0 100644
--- a/src/main/java/com/fasterxml/jackson/core/JsonParser.java
+++ b/src/main/java/com/fasterxml/jackson/core/JsonParser.java
@@ -1325,7 +1325,7 @@ public abstract class JsonParser
* exception.
*<p>
* Note: if the resulting integer value falls outside range of
- * Java byte, a {@link JsonParseException}
+ * Java byte, a {@link InputCoercionException}
* will be thrown to indicate numeric overflow/underflow.
*/
public byte getByteValue() throws IOException {
@@ -1351,7 +1351,7 @@ public abstract class JsonParser
* exception.
*<p>
* Note: if the resulting integer value falls outside range of
- * Java short, a {@link JsonParseException}
+ * Java short, a {@link InputCoercionException}
* will be thrown to indicate numeric overflow/underflow.
*/
public short getShortValue() throws IOException
@@ -1375,7 +1375,7 @@ public abstract class JsonParser
* exception.
*<p>
* Note: if the resulting integer value falls outside range of
- * Java int, a {@link JsonParseException}
+ * Java int, a {@link InputCoercionException}
* may be thrown to indicate numeric overflow/underflow.
*/
public abstract int getIntValue() throws IOException;
@@ -1390,7 +1390,7 @@ public abstract class JsonParser
* exception.
*<p>
* Note: if the token is an integer, but its value falls
- * outside of range of Java long, a {@link JsonParseException}
+ * outside of range of Java long, a {@link InputCoercionException}
* may be thrown to indicate numeric overflow/underflow.
*/
public abstract long getLongValue() throws IOException;
@@ -1416,7 +1416,7 @@ public abstract class JsonParser
* exception.
*<p>
* Note: if the value falls
- * outside of range of Java float, a {@link JsonParseException}
+ * outside of range of Java float, a {@link InputCoercionException}
* will be thrown to indicate numeric overflow/underflow.
*/
public abstract float getFloatValue() throws IOException;
@@ -1431,7 +1431,7 @@ public abstract class JsonParser
* exception.
*<p>
* Note: if the value falls
- * outside of range of Java double, a {@link JsonParseException}
+ * outside of range of Java double, a {@link InputCoercionException}
* will be thrown to indicate numeric overflow/underflow.
*/
public abstract double getDoubleValue() throws IOException;
@@ -1517,6 +1517,8 @@ public abstract class JsonParser
* Convenience alternative to {@link #getBinaryValue(Base64Variant)}
* that defaults to using
* {@link Base64Variants#getDefaultVariant} as the default encoding.
+ *
+ * @return Decoded binary data
*/
public byte[] getBinaryValue() throws IOException {
return getBinaryValue(Base64Variants.getDefaultVariant());