Code example for FileNotFoundException

Methods: getMessage, printStackTrace

0
        Log.e("Facebook", e.getMessage());
        e.printStackTrace();
    } 
 
    public void onFileNotFoundException(FileNotFoundException e) {
        Log.e("Facebook", e.getMessage());
        e.printStackTrace();
    } 
 
    public void onIOException(IOException e) {
        Log.e("Facebook", e.getMessage());
        e.printStackTrace();
    } 
 
    public void onMalformedURLException(MalformedURLException e) {
        Log.e("Facebook", e.getMessage());
        e.printStackTrace();
    } 
     
}