Code example for FileNotFoundException

0
		String path = getPath();
 
		URL url = _servletContext.getResource(path);
 
		if (url == null) {
			throw new FileNotFoundException(getFullPath());
		} 
 
		return new VfsStream(url.openStream(), null);
	} 
 
	protected ServletContextPath( 
		FilesystemPath root, String userPath, String path,
		ServletContext servletContext) {
 
		super(root, userPath, path);
 
		_servletContext = servletContext;
 
		try { 
Contextual code suggestions in your IDE  Get Codota for Java