Class LenientErrorHandler

java.lang.Object
ca.uhn.fhir.parser.LenientErrorHandler
All Implemented Interfaces:
IParserErrorHandler

public class LenientErrorHandler extends Object implements IParserErrorHandler
The default error handler, which logs issues but does not abort parsing, with only one exception:

The invalidValue(ca.uhn.fhir.parser.IParserErrorHandler.IParseLocation, String, String) method will throw a DataFormatException by default since ignoring this type of error can lead to data loss (since invalid values are silently ignored). See setErrorOnInvalidValue(boolean) for information on this.

See Also: