From bafc43afae04d33bf50f112c05661bf4a402aa69 Mon Sep 17 00:00:00 2001 From: Inderjeet Singh Date: Fri, 19 Aug 2011 03:16:51 +0000 Subject: [PATCH] removed unneeded exception catch clause. --- gson/src/main/java/com/google/gson/Gson.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/gson/src/main/java/com/google/gson/Gson.java b/gson/src/main/java/com/google/gson/Gson.java index e1b2cb1b..90dcabbe 100644 --- a/gson/src/main/java/com/google/gson/Gson.java +++ b/gson/src/main/java/com/google/gson/Gson.java @@ -638,9 +638,6 @@ public final class Gson { try { TypeAdapter typeAdapter = (TypeAdapter)miniGson.getAdapter(TypeToken.get(typeOfT)); return typeAdapter.read(reader); - } catch (IllegalStateException e) { - // TODO(inder): Figure out whether it is indeed right to rethrow this as JsonSyntaxException - throw new JsonSyntaxException(e); } catch (IOException e) { // TODO(inder): Figure out whether it is indeed right to rethrow this as JsonSyntaxException throw new JsonSyntaxException(e);