From bdf5bef8873e5a698e16711da8754a9aff05a495 Mon Sep 17 00:00:00 2001 From: Joel Leitch Date: Fri, 5 Nov 2010 20:34:27 +0000 Subject: [PATCH] Fix JavaDoc on JsonSyntaxException --- .../main/java/com/google/gson/JsonSyntaxException.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gson/src/main/java/com/google/gson/JsonSyntaxException.java b/gson/src/main/java/com/google/gson/JsonSyntaxException.java index ffd875c5..17c1d3d3 100644 --- a/gson/src/main/java/com/google/gson/JsonSyntaxException.java +++ b/gson/src/main/java/com/google/gson/JsonSyntaxException.java @@ -16,9 +16,9 @@ package com.google.gson; /** - * This exception is raised when Gson was unable to read an input stream - * or write to one. - * + * This exception is raised when Gson attempts to read (or write) a malformed + * JSON element. + * * @author Inderjeet Singh * @author Joel Leitch */ @@ -36,7 +36,8 @@ public final class JsonSyntaxException extends JsonParseException { /** * Creates exception with the specified cause. Consider using - * {@link #JsonSyntaxException(String, Throwable)} instead if you can describe what happened. + * {@link #JsonSyntaxException(String, Throwable)} instead if you can + * describe what actually happened. * * @param cause root exception that caused this exception to be thrown. */