public final class JsonSyntaxException extends JsonParseException
| Constructor and Description |
|---|
JsonSyntaxException(String msg) |
JsonSyntaxException(String msg,
Throwable cause) |
JsonSyntaxException(Throwable cause)
Creates exception with the specified cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic JsonSyntaxException(String msg)
public JsonSyntaxException(Throwable cause)
JsonSyntaxException(String, Throwable) instead if you can
describe what actually happened.cause - root exception that caused this exception to be thrown.Copyright © 2008–2014 Google, Inc.. All rights reserved.