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

Creating a java.io.File with null path

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.createNewFile()446

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.createNewFile()259

File.checkAndCreate() has thrown an IOException

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

File.getCanonicalPath() has thrown an IOException

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

File.createTempFile() has thrown an IOException

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

File.exists() has thrown an AccessControlException

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

File.fixSlashes() has thrown a NullPointerException

java.lang.NullPointerException
java.io.File.fixSlashes
105Web pages
NullPointerExceptionFile.fixSlashes()105

File.createTempFile() has thrown an IOException

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

File.checkAndCreate() has thrown an IOException

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

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.createTempFile()89

File.isDirectory() has thrown an AccessControlException

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

File.createTempFile() has thrown an IOException

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

File.getCanonicalFile() has thrown an IOException

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

File.createTempFile() has thrown an IOException

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

File.createNewFile() has thrown an IOException

java.io.IOException
java.io.File.createNewFile
45Web pages
IOExceptionFile.createNewFile()45

File.createTempFile() has thrown an IOException

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

File.createNewFile() has thrown an IOException

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

File.toPath() has thrown an InvalidPathException

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

File.getCanonicalPath() has thrown an IOException

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

File.createTempFile() has thrown an IOException

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

File.createTempFile() has thrown an IOException

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

File.getAbsolutePath() has thrown an AccessControlException

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

File.createNewFile() has thrown an IOException

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

File.createTempFile() has thrown a SecurityException

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

File.createTempFile() has thrown an IOException

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

File.createTempFile() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.io.File.createTempFile
30Web pages
IllegalArgumentExceptionFile.createTempFile()30

File.createNewFile() has thrown an ErrnoException

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

File.exists() has thrown a StackOverflowError

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

File.createTempFile() has thrown a SecurityException

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

File.createNewFile() has thrown an IOException

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

File.createTempFile() has thrown an IOException

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

File.deleteOnExit() has thrown an ExceptionInInitializerError

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

File.setLastModified() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.io.File.setLastModified
23Web pages
IllegalArgumentExceptionFile.setLastModified()23

File.toPath() has thrown an InvalidPathException

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

File.exists() has thrown a StrictMode$StrictModeDiskReadViolation

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

File.canRead() has thrown an AccessControlException

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

File.createNewFile() has thrown an IOException

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

File.delete() has thrown an AccessControlException

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

File.isFile() has thrown an AccessControlException

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

File.createNewFile() has thrown an IOException

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

File.exists() has thrown a StrictMode$StrictModeDiskReadViolation

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

File.createTempFile() has thrown an IOException

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

File.length() has thrown an AccessControlException

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

File.getCanonicalFile() has thrown an IOException

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

File.list() has thrown an AccessControlException

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

File.isDirectory() has thrown an AccessControlException

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

File.getCanonicalPath() has thrown an IOException

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