Home
last modified time | relevance | path

Searched refs:FileNotFoundException (Results 1 – 25 of 59) 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()
/libcore/ojluni/src/main/java/java/io/
DFileNotFoundException.java42 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.java146 public FileOutputStream(String name) throws FileNotFoundException { in FileOutputStream()
177 throws FileNotFoundException in FileOutputStream()
207 public FileOutputStream(File file) throws FileNotFoundException { in FileOutputStream()
241 throws FileNotFoundException in FileOutputStream()
253 throw new FileNotFoundException("Invalid file path"); in FileOutputStream()
DFileReader.java59 public FileReader(String fileName) throws FileNotFoundException { in FileReader()
74 public FileReader(File file) throws FileNotFoundException { in FileReader()
DPrintWriter.java199 public PrintWriter(String fileName) throws FileNotFoundException { in PrintWriter()
206 throws FileNotFoundException in PrintWriter()
246 throws FileNotFoundException, UnsupportedEncodingException in PrintWriter()
308 public PrintWriter(File file) throws FileNotFoundException { in PrintWriter()
347 throws FileNotFoundException, UnsupportedEncodingException in PrintWriter()
DFileInputStream.java132 public FileInputStream(String name) throws FileNotFoundException { in FileInputStream()
163 public FileInputStream(File file) throws FileNotFoundException { in FileInputStream()
174 throw new FileNotFoundException("Invalid file path"); in FileInputStream()
DRandomAccessFile.java152 throws FileNotFoundException in RandomAccessFile()
234 throws FileNotFoundException in RandomAccessFile()
249 throws FileNotFoundException { in RandomAccessFile()
299 throw new FileNotFoundException("Invalid file path"); in RandomAccessFile()
DPrintStream.java235 public PrintStream(String fileName) throws FileNotFoundException { in PrintStream()
273 throws FileNotFoundException, UnsupportedEncodingException in PrintStream()
336 public PrintStream(File file) throws FileNotFoundException { in PrintStream()
374 throws FileNotFoundException, UnsupportedEncodingException in PrintStream()
/libcore/ojluni/src/test/java/util/Scanner/
DFailingConstructors.java36 import java.io.FileNotFoundException;
64 } catch(FileNotFoundException|IllegalArgumentException e) { in test()
74 } catch(FileNotFoundException|IllegalArgumentException e) { in test()
81 } catch(FileNotFoundException|NullPointerException e) { in test()
91 } catch(FileNotFoundException|IllegalArgumentException e) { in test()
100 } catch(FileNotFoundException|NullPointerException e) { in test()
107 } catch(FileNotFoundException|NullPointerException e) { in test()
/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()
/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()
DPrintWriterTest.java23 import java.io.FileNotFoundException;
36 Writer(File f) throws FileNotFoundException { in Writer()
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.java36 import java.io.FileNotFoundException;
496 throws FileNotFoundException, IOException; in isDexOptNeeded()
552 throws FileNotFoundException, IOException { in getDexOptNeeded()
592 throws FileNotFoundException, IOException; in getDexOptNeeded()
674 @NonNull String fileName, @NonNull String instructionSet) throws FileNotFoundException { in getDexFileOptimizationInfo()
692 String fileName, String instructionSet) throws FileNotFoundException; in getDexFileOptimizationStatus()
707 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/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/annotations/sdk/nullability/java/io/
DPrintWriter.annotated.java46 …r(@libcore.util.NonNull java.lang.String fileName) throws java.io.FileNotFoundException { throw ne… in PrintWriter()
48 …eName, @libcore.util.NonNull java.lang.String csn) throws java.io.FileNotFoundException, java.io.U… in PrintWriter()
52 public PrintWriter(@libcore.util.NonNull java.io.File file) throws java.io.FileNotFoundException { … in PrintWriter()
56 … 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/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;
136 throw new FileNotFoundException( in connect()
/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;
378 } catch (FileNotFoundException fne) { in testParseFileHandlerBase()
401 } catch (FileNotFoundException fne) { in testParseFileHandlerBase()
566 } catch (FileNotFoundException fne) { in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String()
592 } catch (FileNotFoundException fne) { in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String()
791 } catch (FileNotFoundException fne) { in testParseStringHandlerBase()
814 } catch (FileNotFoundException fne) { in testParseStringHandlerBase()

123