Thrown when a file system operation fails on one or two files. This class is the general class for file system exceptions.
Thrown when a file system operation fails on one or two files. This class is the general class for file system exceptions.
(->file-system-exception file)
(->file-system-exception file other reason)
Constructor.
Constructs an instance of this class. This constructor should be used when an operation involving two files fails, or there is additional information to explain the reason.
file - a string identifying the file or null if not known. - java.lang.String
other - a string identifying the other file or null if there isn't another file or if not known - java.lang.String
reason - a reason message with additional information or null - java.lang.String
Constructor. Constructs an instance of this class. This constructor should be used when an operation involving two files fails, or there is additional information to explain the reason. file - a string identifying the file or null if not known. - `java.lang.String` other - a string identifying the other file or null if there isn't another file or if not known - `java.lang.String` reason - a reason message with additional information or null - `java.lang.String`
(get-file this)
Returns the file used to create this exception.
returns: the file (can be null) - java.lang.String
Returns the file used to create this exception. returns: the file (can be null) - `java.lang.String`
(get-message this)
Returns the detail message string.
returns: the detail message string of this Throwable instance
(which may be null). - java.lang.String
Returns the detail message string. returns: the detail message string of this Throwable instance (which may be null). - `java.lang.String`
(get-other-file this)
Returns the other file used to create this exception.
returns: the other file (can be null) - java.lang.String
Returns the other file used to create this exception. returns: the other file (can be null) - `java.lang.String`
(get-reason this)
Returns the string explaining why the file system operation failed.
returns: the string explaining why the file system operation failed - java.lang.String
Returns the string explaining why the file system operation failed. returns: the string explaining why the file system operation failed - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close