java.io.FileNotFoundException



API Populatity

313 Client projects

Project: java

Package: java.io

Project M66B/XPrivacy in file ...88496c79d9e7c9/src.biz.bokhorst.xprivacy.Util.java (2014-02-28)
@@ -3,6 +3,7 @@ package biz.bokhorst.xprivacy;
 import java.io.BufferedReader;
 import java.io.File;
 import java.io.FileInputStream;
+import java.io.FileNotFoundException;
 import java.io.FileOutputStream;
 import java.io.IOException;
 import java.io.InputStream;
@@ -254,6 +255,7 @@ public class Util {
 				setPermissions(out.getAbsolutePath(), 0700, Process.myUid(), Process.myUid());
 
 				licenseFile.delete();
+			} catch (FileNotFoundException ignored) {
 			} catch (Throwable ex) {
 				Util.bug(null, ex);
 			}
Project apache/hbase in file ...c.java.org.apache.hadoop.hbase.util.MetaUtils.java (2008-09-09)
@@ -20,7 +20,7 @@
 
 package org.apache.hadoop.hbase.util;
 
-import java.io.FileNotFoundException;
+import java.io.FileNotFoundException;           //TODO: remove
 import java.io.IOException;
 import java.util.ArrayList;
 import java.util.Collections;
Project JetBrains/intellij-community in file ...ns.java.decompiler.struct.consts.ConstantPool.java (2014-08-29)
@@ -24,7 +24,6 @@ import org.jetbrains.java.decompiler.struct.gen.VarType;
 
 import java.io.DataInputStream;
 import java.io.DataOutputStream;
-import java.io.FileNotFoundException;
 import java.io.IOException;
 import java.util.ArrayList;
 import java.util.List;
@@ -125,7 +124,7 @@ public class ConstantPool {
   // public methods
   // *****************************************************************************
 
-  public void writeToOutputStream(DataOutputStream out) throws FileNotFoundException, IOException {
+  public void writeToOutputStream(DataOutputStream out) throws IOException {
 
     out.writeShort(pool.size());
     for (int i = 1; i < pool.size(); i++) {