Code example for UnsupportedEncodingException

Methods: printStackTrace

0
        String cv = r.getParameter("oauth_header");
 
        try { 
            cv = java.net.URLDecoder.decode(cv, "UTF-8");
        } catch (UnsupportedEncodingException uee) {
                uee.printStackTrace();
        } 
 
    	this.setParams(cv);   
    } 
 
    public SmartOAuthParser(String oauth_header_string) {
    	this.setParams(oauth_header_string);
    } 
     
    private void setParams(String h) {
    	this.params  = OAuth.oauthHeaderToParamsMap(h);
    } 
 
    public String getParam(String pname) {
    	return this.params.getFirst(pname);