Code example for ProtocolException

Methods: printStackTrace

0
		} catch (MalformedURLException e) {
			e.printStackTrace();
			throw new InvalidRequestException(); 
 
		} catch (ProtocolException e) {
			e.printStackTrace();
			throw new InvalidRequestException(); 
 
		} catch (IOException e) {
			e.printStackTrace();
			throw new NoConnectivityException(); 
 
		} catch (InterruptedException e) {
			e.printStackTrace();
			throw new OperationCancelledException(); 
		} 
 
		String temp[] = url.split("/");
		Logger.i(TAG , temp[temp.length-1] + " response " + response);
 
		Map<String, Object> responseData = operation.parseResponse(response);