Package org.coordinatekit.crf.annotator
Class ReviewPreconditionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.coordinatekit.crf.annotator.ReviewPreconditionException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionReviewPreconditionException(String message) Constructs the exception with a message describing the violated precondition. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReviewPreconditionException
Constructs the exception with a message describing the violated precondition.- Parameters:
message- the detail message
-