Class UnreferencedFileException
java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.zucca_ops.kustomtrace.exceptions.KustomException
dev.zucca_ops.kustomtrace.exceptions.UnreferencedFileException
- All Implemented Interfaces:
Serializable
Exception thrown when a file path is processed or expected to be part of the
Kustomize graph (e.g., a modified file input to 'affected-apps') but is found
to be unreferenced by any Kustomization within the analyzed structure.
- See Also:
-
Field Summary
Fields inherited from class dev.zucca_ops.kustomtrace.exceptions.KustomException
path -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an UnreferencedFileException with a default message indicating the file at the specified path is not referenced. -
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
-
UnreferencedFileException
Constructs an UnreferencedFileException with a default message indicating the file at the specified path is not referenced.- Parameters:
path- The file systemPathof the unreferenced file. May be null if the context for the path is unavailable, though typically non-null.
-