public class SimpleValidationExceptionHandler extends CollectingValidationExceptionHandler<Boolean> implements ValidationExceptionHandlerFactory<Boolean>
result.| Constructor and Description |
|---|
SimpleValidationExceptionHandler(HapiContext context) |
| Modifier and Type | Method and Description |
|---|---|
ValidationExceptionHandler<Boolean> |
getNewInstance(HapiContext context) |
Boolean |
result()
Returns an overall validation result based on an aggregation of all
exceptions thrown during the validation process.
|
error, getExceptions, getMinimumSeverityToCollect, hasFailed, info, setMinimumSeverityToCollect, warninggetValidationSubject, onExceptions, setValidationSubjectgetHapiContext, setHapiContextpublic SimpleValidationExceptionHandler(HapiContext context)
context - Hapi contextpublic Boolean result() throws HL7Exception
ValidationExceptionHandlerresult in interface ValidationExceptionHandler<Boolean>HL7Exception - if an error occurred during calculating the resultpublic ValidationExceptionHandler<Boolean> getNewInstance(HapiContext context)
getNewInstance in interface ValidationExceptionHandlerFactory<Boolean>context - HAPI contextCopyright © 2001–2017 University Health Network. All rights reserved.