Code example for RuntimeException

0
        }finally{ 
        	httpclient.getConnectionManager().shutdown();
        } 
        int status = this.response.getStatusLine().getStatusCode();
        if(200 != status){
        	throw new RuntimeException();
        } 
 
        return this.response;
	} 
 
	public PlurkResult execute_request(){ 
		PlurkResult plurk_result = null;
        String result = null;
		try { 
            if(this.method == GET){
			    result = httpclient.execute(this.get_request, new BasicResponseHandler());
            } else if(this.method == POST){
                result = httpclient.execute(this.post_request, new BasicResponseHandler());
            } 
Contextual code suggestions in your IDE  Get Codota for Java