Class NotAnAppException
java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.zucca_ops.kustomtrace.exceptions.KustomException
dev.zucca_ops.kustomtrace.exceptions.NotAnAppException
- All Implemented Interfaces:
Serializable
Exception thrown when a given path is expected to represent or lead to a
Kustomize application (i.e., a kustomization file or a directory containing one),
but cannot be resolved as such.
- See Also:
-
Field Summary
Fields inherited from class dev.zucca_ops.kustomtrace.exceptions.KustomException
path -
Constructor Summary
ConstructorsConstructorDescriptionNotAnAppException(Path path) Constructs a NotAnAppException with a default message indicating the path is not a valid Kustomize application. -
Method Summary
Methods inherited from class dev.zucca_ops.kustomtrace.exceptions.KustomException
getPathMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotAnAppException
Constructs a NotAnAppException with a default message indicating the path is not a valid Kustomize application.- Parameters:
path- The file systemPaththat was determined not to be a Kustomize application. May be null if the context for the path is unavailable.
-