Code example for StreamCorruptedException

Methods: toString

0
		} catch (FileNotFoundException e) {
			displayError(context, "Sorry there was an Error when trying to restore state");
			Log.i(TAG, e.toString());
		} catch (StreamCorruptedException e) {
			displayError(context, "Sorry there was an Error when trying to restore state");
			Log.i(TAG, e.toString());
		} catch (IOException e) {
			displayError(context, "Sorry there was an Error when trying to restore state");
			Log.i(TAG, e.toString());
		} catch (ClassNotFoundException e) {
			displayError(context, "Sorry there was an Error when trying to restore state");
			Log.i(TAG, e.toString());
		}	 
    } 
     
    /** 
     * Gets the bitmap of the screen from the given index 
     *  
     * @param context The activity requesting the screen 
     * @param screenIndex Index of the screen to return 
     * @return