Code examples for FileNotFoundException

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
83:	throw new FileNotFoundException(from); 
Full Snippet Info
8
CodeRank
92:	assertEquals("File " + TEST_PATH + " does not exist.", e.getMessage()); 
93:	LOG.info(StringUtils.stringifyException(e)); 
Full Snippet Info
7
CodeRank
107:	FileNotFoundException fileError = new FileNotFoundException("Cannot assign file for URI: " + uri.toString()); 
108:	fileError.initCause(error); 
Full Snippet Info
7
CodeRank
104:	throw new FileNotFoundException(name); 
Full Snippet Info
8
CodeRank
19:	Log.e("Facebook", e.getMessage()); 
20:	e.printStackTrace(); 
Full Snippet Info
7
CodeRank
64:	e.printStackTrace(); 
Full Snippet Info
7
CodeRank
86:	e.printStackTrace(); 
Full Snippet Info
7
CodeRank
56:	IOException ioException = new FileNotFoundException(); 
57:	assertEquals("handleIOException", resolver.resolveMethod(ioException).getName()); 
Full Snippet Info
7
CodeRank
217:	LOG.error("unable to open properties stream: " + e.getMessage(), e); 
Full Snippet Info
7
CodeRank
59:	throw new FileNotFoundException( 
Full Snippet Info
6
CodeRank
83:	throw new FileNotFoundException(uri.getPath()); 
Full Snippet Info
7
CodeRank
88:	FileNotFoundException ex = new FileNotFoundException(); 
-
90:	ModelAndView mav = exceptionResolver.resolveException(request, response, controller, ex); 
Full Snippet Info
7
CodeRank
31:	Log.e(TAG, e.getMessage(), e); 
Full Snippet Info
7
CodeRank
41:	Log.e("Facebook", e.getMessage()); 
42:	e.printStackTrace(); 
Full Snippet Info
6
CodeRank
74:	e.printStackTrace(); 
Full Snippet Info
7
CodeRank
69:	throw new FileNotFoundException( 
Full Snippet Info
6
CodeRank
57:	throw new FileNotFoundException(String.format("unknown file[%s]", filename)); 
Full Snippet Info
7
CodeRank
32:	Log.e(TAG, e.getMessage(), e); 
Full Snippet Info
7
CodeRank
113:	throw new ResourceAdapterInternalException(e.getMessage(), e); 
Full Snippet Info
6
CodeRank
68:	throw new FileNotFoundException("Log4j config file [" + resolvedLocation + "] not found"); 
Full Snippet Info
6
CodeRank