]>
iEval git - unical.git/blob - gson/JsonIOException.java
2 * Copyright (C) 2008 Google Inc.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package com
.google
.gson
;
19 * This exception is raised when Gson was unable to read an input stream
22 * @author Inderjeet Singh
25 public final class JsonIOException
extends JsonParseException
{
26 private static final long serialVersionUID
= 1L;
28 public JsonIOException(String msg
) {
32 public JsonIOException(String msg
, Throwable cause
) {
37 * Creates exception with the specified cause. Consider using
38 * {@link #JsonIOException(String, Throwable)} instead if you can describe what happened.
40 * @param cause root exception that caused this exception to be thrown.
42 public JsonIOException(Throwable cause
) {
This page took 0.04079 seconds and 4 git commands to generate.