Code example for HttpException

0
			response = httpClient.execute(request);
			 
		} catch (ClientProtocolException e) {
			throw new HttpException(e.getMessage(), e);
		} catch (IOException ioe) {
			throw new HttpException(ioe.getMessage(), ioe);
		}  
 
		if (response != null) {
			int statusCode = response.getStatusLine().getStatusCode();
			// It will throw a Exception while status code is not 200 
			handleResCode(statusCode);
		} else { 
			LogUtils.loge(LOG_TAG, "response is null");
		} 
		 
		return response;		
	} 
	 
	 
	/**