Class PathNotValidException
java.lang.Object
java.lang.Throwable
java.lang.Exception
me.pauleff.common.exceptions.PathNotValidException
- All Implemented Interfaces:
Serializable
Indicates that a filesystem path is missing or otherwise unsuitable for use.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPathNotValidException(String explanation, Path path) Creates an exception for the given path with a custom explanation.PathNotValidException(Path path) Creates an exception for a path that does not exist. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PathNotValidException
-
PathNotValidException
Creates an exception for a path that does not exist.- Parameters:
path- the missing path
-
-
Method Details
-
path
-