Home
last modified time | relevance | path

Searched refs:FileNotFoundException (Results 1 – 25 of 58) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileNotFoundExceptionTest.java20 import java.io.FileNotFoundException;
30 FileNotFoundException e = new FileNotFoundException(); in test_Constructor()
39 FileNotFoundException e = new FileNotFoundException(message); in test_ConstructorLjava_lang_String()
DFileInputStreamTest.java22 import java.io.FileNotFoundException;
143 } catch (FileNotFoundException e) { in test_ConstructorLjava_lang_String_I()
153 } catch (FileNotFoundException e) { in test_ConstructorLjava_lang_String_I()
/libcore/ojluni/src/main/java/java/io/
DFileNotFoundException.java43 public class FileNotFoundException extends IOException { class
50 public FileNotFoundException() { in FileNotFoundException() method in FileNotFoundException
63 public FileNotFoundException(String s) { in FileNotFoundException() method in FileNotFoundException
76 private FileNotFoundException(String path, String reason) { in FileNotFoundException() method in FileNotFoundException
DFileOutputStream.java124 public FileOutputStream(String name) throws FileNotFoundException { in FileOutputStream()
155 throws FileNotFoundException in FileOutputStream()
185 public FileOutputStream(File file) throws FileNotFoundException { in FileOutputStream()
219 throws FileNotFoundException in FileOutputStream()
230 throw new FileNotFoundException("Invalid file path"); in FileOutputStream()
DFileReader.java57 public FileReader(String fileName) throws FileNotFoundException { in FileReader()
71 public FileReader(File file) throws FileNotFoundException { in FileReader()
DFileInputStream.java114 public FileInputStream(String name) throws FileNotFoundException { in FileInputStream()
145 public FileInputStream(File file) throws FileNotFoundException { in FileInputStream()
155 throw new FileNotFoundException("Invalid file path"); in FileInputStream()
DPrintWriter.java183 public PrintWriter(String fileName) throws FileNotFoundException { in PrintWriter()
190 throws FileNotFoundException in PrintWriter()
230 throws FileNotFoundException, UnsupportedEncodingException in PrintWriter()
262 public PrintWriter(File file) throws FileNotFoundException { in PrintWriter()
301 throws FileNotFoundException, UnsupportedEncodingException in PrintWriter()
DPrintStream.java214 public PrintStream(String fileName) throws FileNotFoundException { in PrintStream()
252 throws FileNotFoundException, UnsupportedEncodingException in PrintStream()
285 public PrintStream(File file) throws FileNotFoundException { in PrintStream()
323 throws FileNotFoundException, UnsupportedEncodingException in PrintStream()
/libcore/ojluni/annotations/hiddenapi/java/io/
DFileOutputStream.java34 public FileOutputStream(java.lang.String name) throws java.io.FileNotFoundException { in FileOutputStream()
39 throws java.io.FileNotFoundException { in FileOutputStream()
43 public FileOutputStream(java.io.File file) throws java.io.FileNotFoundException { in FileOutputStream()
48 throws java.io.FileNotFoundException { in FileOutputStream()
61 throws java.io.FileNotFoundException; in open0()
63 private void open(java.lang.String name, boolean append) throws java.io.FileNotFoundException { in open()
DFileInputStream.java34 public FileInputStream(java.lang.String name) throws java.io.FileNotFoundException { in FileInputStream()
38 public FileInputStream(java.io.File file) throws java.io.FileNotFoundException { in FileInputStream()
50 private native void open0(java.lang.String name) throws java.io.FileNotFoundException; in open0()
52 private void open(java.lang.String name) throws java.io.FileNotFoundException { in open()
DRandomAccessFile.java35 throws java.io.FileNotFoundException { in RandomAccessFile()
40 throws java.io.FileNotFoundException { in RandomAccessFile()
/libcore/luni/src/test/java/libcore/java/io/
DOldFileReaderTest.java21 import java.io.FileNotFoundException;
33 } catch (FileNotFoundException e) { in test_ConstructorLjava_io_File()
42 } catch (FileNotFoundException e) { in test_ConstructorLjava_lang_String()
DRandomAccessFileTest.java20 import java.io.FileNotFoundException;
136 } catch (FileNotFoundException expected) { in testDirectories()
141 } catch (FileNotFoundException expected) { in testDirectories()
DFileInputStreamTest.java36 import java.io.FileNotFoundException;
104 } catch (FileNotFoundException expected) { in testDirectories()
242 } catch (FileNotFoundException expected) { in testFdLeakWhenOpeningDirectory()
/libcore/dalvik/src/main/java/dalvik/system/
DDexFile.java26 import java.io.FileNotFoundException;
458 throws FileNotFoundException, IOException; in isDexOptNeeded()
512 throws FileNotFoundException, IOException { in getDexOptNeeded()
551 throws FileNotFoundException, IOException; in getDexOptNeeded()
562 throws FileNotFoundException; in getDexFileStatus()
626 @NonNull String fileName, @NonNull String instructionSet) throws FileNotFoundException { in getDexFileOptimizationInfo()
644 String fileName, String instructionSet) throws FileNotFoundException; in getDexFileOptimizationStatus()
660 throws FileNotFoundException; in getDexFileOutputPaths()
/libcore/ojluni/annotations/mmodule/java/io/
DFileInputStream.annotated.java35 public FileInputStream(java.lang.String name) throws java.io.FileNotFoundException { throw new Runt… in FileInputStream()
37 public FileInputStream(java.io.File file) throws java.io.FileNotFoundException { throw new RuntimeE… in FileInputStream()
/libcore/ojluni/annotations/sdk/nullability/java/io/
DPrintWriter.annotated.java44 …r(@libcore.util.NonNull java.lang.String fileName) throws java.io.FileNotFoundException { throw ne… in PrintWriter()
46 …eName, @libcore.util.NonNull java.lang.String csn) throws java.io.FileNotFoundException, java.io.U… in PrintWriter()
48 public PrintWriter(@libcore.util.NonNull java.io.File file) throws java.io.FileNotFoundException { … in PrintWriter()
50 … file, @libcore.util.NonNull java.lang.String csn) throws java.io.FileNotFoundException, java.io.U… in PrintWriter()
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
DFileURLConnection.java86 … throw new FileNotFoundException(filename + " exists, but is not accessible"); in connect()
197 throw new FileNotFoundException(filename); in getInputStream()
210 throw new FileNotFoundException(filename); in getInputStream()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarURLConnection.java30 import java.io.FileNotFoundException;
146 throw new FileNotFoundException("JAR entry " + entryName + in connect()
164 throw new FileNotFoundException("JAR entry " + entryName + in getInputStream()
DJarFileFactory.java29 import java.io.FileNotFoundException;
102 throw new FileNotFoundException(url.toString()); in get()
/libcore/luni/src/main/java/libcore/io/
DClassPathURLStreamHandler.java20 import java.io.FileNotFoundException;
130 throw new FileNotFoundException( in connect()
/libcore/luni/src/test/java/libcore/java/util/zip/
DZipFileTest.java25 import java.io.FileNotFoundException;
87 } catch(FileNotFoundException expected) {} in test_FileNotFound()
/libcore/luni/src/test/java/libcore/libcore/io/
DClassPathURLStreamHandlerTest.java22 import java.io.FileNotFoundException;
160 } catch (FileNotFoundException expected) { in assertOpenConnectionConnectFails()
167 } catch (FileNotFoundException expected) { in assertOpenConnectionConnectFails()
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java39 import java.io.FileNotFoundException;
506 } catch (FileNotFoundException e) { in getInputStream()
518 throw new FileNotFoundException(fullpath); in getInputStream()
520 throw new FileNotFoundException(fullpath); in getInputStream()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DSAXParserTest.java41 import java.io.FileNotFoundException;
367 } catch (FileNotFoundException fne) { in testParseFileHandlerBase()
390 } catch (FileNotFoundException fne) { in testParseFileHandlerBase()
555 } catch (FileNotFoundException fne) { in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String()
581 } catch (FileNotFoundException fne) { in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String()
780 } catch (FileNotFoundException fne) { in testParseStringHandlerBase()
803 } catch (FileNotFoundException fne) { in testParseStringHandlerBase()

123