Package org.apache.uima.fit.validation
Interface ValidationCheck
- All Known Subinterfaces:
CasValidationCheck
,JCasValidationCheck
public interface ValidationCheck
Interface identifying validation checks that can be located via the Java Service Locator
mechanism.
-
Method Summary
-
Method Details
-
fail
Fail the check with the given message.- Parameters:
aMessage
- the failure message.- Throws:
ValidationCheckFailedException
- an exception carrying the failure message.
-
skip
Skip the check with the given reason.- Parameters:
aMessage
- the skip reason.- Throws:
ValidationCheckSkippedException
- an exception carrying the failure message.
-