Code example for StreamCorruptedException

Methods: getMessage, printStackTrace

0
			// TODO Auto-generated catch block 
			e.printStackTrace();
			Log.e(TAG, "deSerializeFromFile | deserialization failed " + e.getMessage());
		} catch (StreamCorruptedException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
			Log.e(TAG, "deSerializeFromFile | deserialization failed " + e.getMessage());
		} catch (IOException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
			Log.e(TAG, "deSerializeFromFile | deserialization failed " + e.getMessage());
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
			Log.e(TAG, "deSerializeFromFile | deserialization failed " + e.getMessage());
		}finally{ 
			if (ois!=null) closeQuietly((Closeable)ois);
			if (fis!=null) closeQuietly((Closeable)fis);
		} 
		 
		return deserializedObject;