Inherited from Serializable
Inherited from Product
Inherited from Equals
Inherited from ControlThrowable
Inherited from NoStackTrace
Inherited from IOException
Inherited from Exception
Inherited from Throwable
Inherited from Serializable
Inherited from AnyRef
Inherited from Any
This is a control exception that indicates the underlying filesystem object cannot be treated as a File.
IE a symbolic link maybe treated as a file in some cases but a Directory cannot. So if a file operation is attempted on a Directory a NotFileException will be thrown
To safely use
File
one should use the following code:1.0