1. Explore
  2. »
  3. Java Runtime
  4. »
  5. java.io
  6. »
  7. File
Error patternsMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

File.<init>() has thrown a NullPointerException

java.lang.NullPointerException
java.io.File.<init>
609Web pages
NullPointerExceptionFile.<init>609

File.createNewFile() has thrown an IOException

java.io.IOException
1 frames hidden
java.io.File.createNewFile
446Web pages
IOExceptionFile.createNewFile446

File.<init>() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.io.File.<init>
406Web pages
IllegalArgumentExceptionFile.<init>406

File.createNewFile() has thrown an IOException

java.io.IOException
1 frames hidden
java.io.File.createNewFile
259Web pages
IOExceptionFile.createNewFile259

File.checkAndCreate() has thrown an IOException

java.io.IOException
1 frames hidden
java.io.File.checkAndCreate
158Web pages
IOExceptionFile.checkAndCreate158

File.getCanonicalPath() has thrown an IOException

java.io.IOException
2 frames hidden
java.io.File.getCanonicalPath
148Web pages
IOExceptionFile.getCanonicalPath148

File.createTempFile() has thrown an IOException

java.io.IOException
2 frames hidden
java.io.File.createTempFile
133Web pages
IOExceptionFile.createTempFile133

File.exists() has thrown an AccessControlException

java.security.AccessControlException
4 frames hidden
java.io.File.exists
119Web pages
AccessControlExceptionFile.exists119

File.fixSlashes() has thrown a NullPointerException

java.lang.NullPointerException
java.io.File.fixSlashes
105Web pages
NullPointerExceptionFile.fixSlashes105

File.createTempFile() has thrown an IOException

java.io.IOException
1 frames hidden
java.io.File.createTempFile
99Web pages
IOExceptionFile.createTempFile99

File.checkAndCreate() has thrown an IOException

java.io.IOException
1 frames hidden
java.io.File.checkAndCreate
94Web pages
IOExceptionFile.checkAndCreate94

File.<init>() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
java.io.File.<init>
92Web pages
NullPointerExceptionFile.<init>92

File.createTempFile() has thrown an IOException

java.io.IOException
2 frames hidden
java.io.File.createTempFile
89Web pages
IOExceptionFile.createTempFile89

File.isDirectory() has thrown an AccessControlException

java.security.AccessControlException
4 frames hidden
java.io.File.isDirectory
75Web pages
AccessControlExceptionFile.isDirectory75

File.createTempFile() has thrown an IOException

java.io.IOException
1 frames hidden
java.io.File.createTempFile
63Web pages
IOExceptionFile.createTempFile63

File.getCanonicalFile() has thrown an IOException

java.io.IOException
3 frames hidden
java.io.File.getCanonicalFile
61Web pages
IOExceptionFile.getCanonicalFile61

File.createTempFile() has thrown an IOException

java.io.IOException
3 frames hidden
java.io.File.createTempFile
45Web pages
IOExceptionFile.createTempFile45

File.createNewFile() has thrown an IOException

java.io.IOException
java.io.File.createNewFile
45Web pages
IOExceptionFile.createNewFile45

File.createTempFile() has thrown an IOException

java.io.IOException
2 frames hidden
java.io.File.createTempFile
39Web pages
IOExceptionFile.createTempFile39

File.createNewFile() has thrown an IOException

android.system.ErrnoException
3 frames hidden
java.io.File.createNewFile
35Web pages
IOExceptionFile.createNewFile35

File.toPath() has thrown an InvalidPathException

java.nio.file.InvalidPathException
5 frames hidden
java.io.File.toPath
35Web pages
InvalidPathExceptionFile.toPath35

File.getCanonicalPath() has thrown an IOException

java.io.IOException
2 frames hidden
java.io.File.getCanonicalPath
34Web pages
IOExceptionFile.getCanonicalPath34

File.createTempFile() has thrown an IOException

java.io.IOException
3 frames hidden
java.io.File.createTempFile
34Web pages
IOExceptionFile.createTempFile34

File.createTempFile() has thrown an IOException

java.io.IOException
2 frames hidden
java.io.File.createTempFile
33Web pages
IOExceptionFile.createTempFile33

File.getAbsolutePath() has thrown an AccessControlException

java.security.AccessControlException
7 frames hidden
java.io.File.getAbsolutePath
32Web pages
AccessControlExceptionFile.getAbsolutePath32

File.createNewFile() has thrown an IOException

java.io.IOException
2 frames hidden
java.io.File.createNewFile
31Web pages
IOExceptionFile.createNewFile31

File.createTempFile() has thrown a SecurityException

java.lang.SecurityException
1 frames hidden
java.io.File.createTempFile
31Web pages
SecurityExceptionFile.createTempFile31

File.createTempFile() has thrown an IOException

java.io.IOException
2 frames hidden
java.io.File.createTempFile
31Web pages
IOExceptionFile.createTempFile31

File.createTempFile() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.io.File.createTempFile
30Web pages
IllegalArgumentExceptionFile.createTempFile30

File.createNewFile() has thrown an ErrnoException

libcore.io.ErrnoException
2 frames hidden
java.io.File.createNewFile
30Web pages
ErrnoExceptionFile.createNewFile30

File.exists() has thrown a StackOverflowError

java.lang.StackOverflowError
2 frames hidden
java.io.File.exists
26Web pages
StackOverflowErrorFile.exists26

File.createTempFile() has thrown a SecurityException

java.lang.SecurityException
2 frames hidden
java.io.File.createTempFile
25Web pages
SecurityExceptionFile.createTempFile25

File.createNewFile() has thrown an IOException

libcore.io.ErrnoException
3 frames hidden
java.io.File.createNewFile
25Web pages
IOExceptionFile.createNewFile25

File.createTempFile() has thrown an IOException

java.io.IOException
3 frames hidden
java.io.File.createTempFile
23Web pages
IOExceptionFile.createTempFile23

File.deleteOnExit() has thrown an ExceptionInInitializerError

java.lang.IllegalStateException
3 frames hidden
java.io.File.deleteOnExit
23Web pages
ExceptionInInitializerErrorFile.deleteOnExit23

File.setLastModified() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.io.File.setLastModified
23Web pages
IllegalArgumentExceptionFile.setLastModified23

File.toPath() has thrown an InvalidPathException

java.nio.file.InvalidPathException
3 frames hidden
java.io.File.toPath
19Web pages
InvalidPathExceptionFile.toPath19

File.exists() has thrown a StrictMode$StrictModeDiskReadViolation

android.os.StrictMode$StrictModeDiskReadViolation
3 frames hidden
java.io.File.exists
17Web pages
StrictMode$StrictModeDiskReadViolationFile.exists17

File.canRead() has thrown an AccessControlException

java.security.AccessControlException
4 frames hidden
java.io.File.canRead
17Web pages
AccessControlExceptionFile.canRead17

File.createNewFile() has thrown an IOException

java.io.IOException
1 frames hidden
java.io.File.createNewFile
17Web pages
IOExceptionFile.createNewFile17

File.delete() has thrown an AccessControlException

java.security.AccessControlException
4 frames hidden
java.io.File.delete
16Web pages
AccessControlExceptionFile.delete16

File.isFile() has thrown an AccessControlException

java.security.AccessControlException
4 frames hidden
java.io.File.isFile
15Web pages
AccessControlExceptionFile.isFile15

File.createNewFile() has thrown an IOException

java.io.IOException
1 frames hidden
java.io.File.createNewFile
15Web pages
IOExceptionFile.createNewFile15

File.exists() has thrown a StrictMode$StrictModeDiskReadViolation

android.os.StrictMode$StrictModeDiskReadViolation
2 frames hidden
java.io.File.exists
14Web pages
StrictMode$StrictModeDiskReadViolationFile.exists14

File.createTempFile() has thrown an IOException

java.io.IOException
3 frames hidden
java.io.File.createTempFile
14Web pages
IOExceptionFile.createTempFile14

File.length() has thrown an AccessControlException

java.security.AccessControlException
4 frames hidden
java.io.File.length
13Web pages
AccessControlExceptionFile.length13

File.getCanonicalFile() has thrown an IOException

java.io.IOException
3 frames hidden
java.io.File.getCanonicalFile
13Web pages
IOExceptionFile.getCanonicalFile13

File.list() has thrown an AccessControlException

java.security.AccessControlException
4 frames hidden
java.io.File.list
12Web pages
AccessControlExceptionFile.list12

File.isDirectory() has thrown an AccessControlException

java.security.AccessControlException
5 frames hidden
java.io.File.isDirectory
11Web pages
AccessControlExceptionFile.isDirectory11

File.getCanonicalPath() has thrown an IOException

java.io.IOException
2 frames hidden
java.io.File.getCanonicalPath
11Web pages
IOExceptionFile.getCanonicalPath11
Nothing to list here.
Nothing to list here.