Package hydra.error.file
Class FileError.NotFound
- java.lang.Object
-
- hydra.error.file.FileError
-
- hydra.error.file.FileError.NotFound
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FileError>
- Enclosing class:
- FileError
public static final class FileError.NotFound extends FileError implements java.io.Serializable
The requested path does not exist- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hydra.error.file.FileError
FileError.AlreadyExists, FileError.InvalidPath, FileError.NotFound, FileError.Other, FileError.PartialVisitor<R>, FileError.PermissionDenied, FileError.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description FilePathvalue-
Fields inherited from class hydra.error.file.FileError
ALREADY_EXISTS, INVALID_PATH, NOT_FOUND, OTHER, PERMISSION_DENIED, TYPE_
-
-
Constructor Summary
Constructors Constructor Description NotFound(FilePath value)Constructs an immutableFileError.NotFound.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(FileError.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(FileError other)booleanequals(java.lang.Object other)inthashCode()inthydraOrdinal()java.lang.StringtoString()
-
-
-
Field Detail
-
value
public final FilePath value
-
-
Constructor Detail
-
NotFound
public NotFound(FilePath value)
Constructs an immutableFileError.NotFound.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(FileError other)
- Specified by:
compareToin interfacejava.lang.Comparable<FileError>
-
hydraOrdinal
public int hydraOrdinal()
- Specified by:
hydraOrdinalin classFileError
-
accept
public <R> R accept(FileError.Visitor<R> visitor)
Dispatch tovisitor.
-
-