PathExistsException class
Exception thrown when a file operation fails because the target pathalready exists.
- Inheritance
- Object
- FileSystemException
- PathExistsException
- Annotations
- @Since.new("2.19")
Constructors
- PathExistsException(Stringpath,OSErrorosError, [Stringmessage =""])
- const
Properties
- hashCode→int
- The hash code for this object.no setterinherited
- message→String
- Message describing the error.finalinherited
- osError→OSError?
- The underlying OS error.finalinherited
- path→String?
- The file system path on which the error occurred.finalinherited
- runtimeType→Type
- A representation of the runtime type of the object.no setterinherited
Methods
- noSuchMethod(
Invocationinvocation)→ dynamic - Invoked when a nonexistent method or property is accessed.inherited
- toString(
)→String - A string representation of this object.override
Operators
- operator ==(
Objectother)→bool - The equality operator.inherited