com.google.gson

Class JsonIOException

  • All Implemented Interfaces:
    Serializable


    public final class JsonIOException
    extends JsonParseException
    This exception is raised when Gson was unable to read an input stream or write to one.
    Author:
    Inderjeet Singh, Joel Leitch
    See Also:
    Serialized Form
    • Constructor Detail

      • JsonIOException

        public JsonIOException(String msg)
      • JsonIOException

        public JsonIOException(Throwable cause)
        Creates exception with the specified cause. Consider using JsonIOException(String, Throwable) instead if you can describe what happened.
        Parameters:
        cause - root exception that caused this exception to be thrown.

Copyright © 2017. All Rights Reserved.