Class ReviewPreconditionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.coordinatekit.crf.annotator.ReviewPreconditionException
All Implemented Interfaces:
Serializable

@NullMarked public final class ReviewPreconditionException extends RuntimeException
Thrown when a review pass is asked to run with input or output paths that violate its fresh-pass precondition: the input and output must be different paths, and the output must be absent or empty.

This is a dedicated, user-facing precondition signal — distinct from the generic IllegalArgumentException / IllegalStateException a programming bug raises — so a CLI can report a bad invocation while letting genuine bugs propagate loudly.

See Also:
  • Constructor Details

    • ReviewPreconditionException

      public ReviewPreconditionException(String message)
      Constructs the exception with a message describing the violated precondition.
      Parameters:
      message - the detail message