Code example for FileNotFoundException

Methods: getMessage

0
        Log.e("stream", "Facebook Error:" + e.getMessage());
    } 
 
    public void onFileNotFoundException(FileNotFoundException e,
                                        final Object state) {
        Log.e("stream", "Resource not found:" + e.getMessage());      
    } 
 
    public void onIOException(IOException e, final Object state) {
        Log.e("stream", "Network Error:" + e.getMessage());      
    } 
 
    public void onMalformedURLException(MalformedURLException e,
                                        final Object state) {
        Log.e("stream", "Invalid URL:" + e.getMessage());            
    } 
 
}