Class UnreferencedFileException

All Implemented Interfaces:
Serializable

public class UnreferencedFileException extends KustomException
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:
  • Constructor Details

    • UnreferencedFileException

      public UnreferencedFileException(Path path)
      Constructs an UnreferencedFileException with a default message indicating the file at the specified path is not referenced.
      Parameters:
      path - The file system Path of the unreferenced file. May be null if the context for the path is unavailable, though typically non-null.