Code example for NoSuchAlgorithmException

Methods: printStackTrace

0
        try { 
            kooaba.query(imagePath);
        } catch (InvalidKeyException e) {
            e.printStackTrace();
        } catch (NoSuchAlgorithmException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        } 
 
        return null; 
    } 
 
    protected void onPostExecute(Object result) {
        tv.append("Done.\n\n");
        tv.append("HTTP Status: " + kooaba.getResponseStatus() + "\n");
        tv.append("HTTP Response: " + kooaba.getResponseBody() + "\n");
    } 
}