question: private void checkServerResponseCode ( HttpURLConnection urlConnection ) throws RequestFailureException { try { if ( urlConnection . getResponseCode ( ) != 200 ) { throw new RequestFailureException ( "Received " + urlConnection . getResponseCode ( ) + " code instead of 200 (OK) from the server.  Aborting." ) ; } } catch ( IOException e ) { throw new RequestFailureException ( "Failed to read response code from server: " , e ) ; } }
target:  Confirms that the Omaha server sent back an "OK" code.