else try { return (FileInputStream) AccessController.doPrivileged(new PrivilegedExceptionAction() { public Object run() throws FileNotFoundException { return new FileInputStream(file); } }); } catch (PrivilegedActionException e) { throw (FileNotFoundException) e.getException(); }
try { return (FileInputStream) AccessController.doPrivileged(new PrivilegedExceptionAction() { public Object run() throws FileNotFoundException { return new FileInputStream(file); } }); } catch (PrivilegedActionException e) { throw (FileNotFoundException) e.getException(); }
	public static FileInputStream getFileInputStream(final File file) throws FileNotFoundException {		if (System.getSecurityManager() == null)			return new FileInputStream(file);		else			try {				return (FileInputStream) AccessController.doPrivileged(new PrivilegedExceptionAction() {					public Object run() throws FileNotFoundException {						return new FileInputStream(file);					}				});			} catch (PrivilegedActionException e) {				throw (FileNotFoundException) e.getException();			}	}