Code examples for HttpException

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
65:	this.log.error("HTTP connection " + conn + ": " + ex.getMessage(), ex); 
66:	this.handler.exception(conn, ex); 
Full Snippet Info
6
CodeRank
122:	e.printStackTrace(); 
Full Snippet Info
6
CodeRank
75:	this.log.error("HTTP Error occured on connection " + conn + ": " + ex.getMessage(), ex); 
76:	this.handler.exception(conn, ex); 
Full Snippet Info
6
CodeRank
98:	e.printStackTrace(); 
Full Snippet Info
6
CodeRank
186:	+ "' to CloudFiles: Error " + e.getMessage()); 
Full Snippet Info
6
CodeRank
83:	this.log.error("HTTP connection " + conn + ": " + ex.getMessage(), ex); 
84:	this.handler.exception(conn, ex); 
Full Snippet Info
5
CodeRank
83:	this.log.error("HTTP connection " + conn + ": " + ex.getMessage(), ex); 
84:	this.handler.exception(conn, ex); 
Full Snippet Info
5
CodeRank
325:	Mockito.doThrow(new HttpException("Oopsie")).when(expectationVerifier).verify(request, resp100, context); 
Full Snippet Info
5
CodeRank
57:	ex.printStackTrace(System.out); 
Full Snippet Info
5
CodeRank
257:	System.err.println("HTTP error: " + ex.getMessage()); 
Full Snippet Info
4
CodeRank
72:	throw new HttpException("Server error: " 
Full Snippet Info
4
CodeRank
38:	System.err.println( "HTTP error: " + ex.getMessage() ); 
Full Snippet Info
4
CodeRank
207:	System.err.println("HTTP error: " + ex.getMessage()); 
Full Snippet Info
4
CodeRank
38:	log.error("HTTP error: " + ex.getMessage()); 
Full Snippet Info
4
CodeRank
473:	handleException("Unexpected HTTP protocol error : " + e.getMessage(), e, conn); 
Full Snippet Info
4
CodeRank
130:	Mockito.same(httpget))).thenThrow(new HttpException()); 
Full Snippet Info
4
CodeRank
311:	Mockito.<HttpClientContext>any())).thenThrow(new HttpException("Ka-boom")); 
Full Snippet Info
4
CodeRank
157:	e1.printStackTrace(); 
Full Snippet Info
4
CodeRank
223:	throw new HttpException("Received non-OK status from server: " + response.getStatusLine()); 
Full Snippet Info
4
CodeRank
84:	throw new HttpException(responseStatus.toString()); 
Full Snippet Info
4
CodeRank