From a224bb1e2b23cf45a0d75638c14da1a406eaec3d Mon Sep 17 00:00:00 2001 From: Inderjeet Singh Date: Mon, 1 Nov 2010 23:16:03 +0000 Subject: [PATCH] added serial version id --- gson/src/main/java/com/google/gson/JsonIOException.java | 2 ++ gson/src/main/java/com/google/gson/JsonSyntaxException.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gson/src/main/java/com/google/gson/JsonIOException.java b/gson/src/main/java/com/google/gson/JsonIOException.java index 1e6612d3..a05975db 100644 --- a/gson/src/main/java/com/google/gson/JsonIOException.java +++ b/gson/src/main/java/com/google/gson/JsonIOException.java @@ -24,6 +24,8 @@ package com.google.gson; */ public final class JsonIOException extends JsonParseException { + private static final long serialVersionUID = 1L; + public JsonIOException(String msg) { super(msg); } diff --git a/gson/src/main/java/com/google/gson/JsonSyntaxException.java b/gson/src/main/java/com/google/gson/JsonSyntaxException.java index 47f1b14f..23447e40 100644 --- a/gson/src/main/java/com/google/gson/JsonSyntaxException.java +++ b/gson/src/main/java/com/google/gson/JsonSyntaxException.java @@ -24,6 +24,8 @@ package com.google.gson; */ public final class JsonSyntaxException extends JsonParseException { + private static final long serialVersionUID = 1L; + public JsonSyntaxException(String msg) { super(msg); }