Lines Matching refs:canRecover
96 protected final void reportUnexpectedChildElement(TagName ea, boolean canRecover) throws SAXException {
97 if(canRecover && !UnmarshallingContext.getInstance().parent.hasEventHandler())
103 reportError(Messages.UNINTERNED_STRINGS.format(), canRecover );
105 reportError(Messages.UNEXPECTED_ELEMENT.format(ea.uri,ea.local,computeExpectedElements()), canRecover );
229 public static void handleGenericException(Exception e, boolean canRecover) throws SAXException {
230 reportError(e.getMessage(), e, canRecover );
237 protected static void reportError(String msg, boolean canRecover) throws SAXException {
238 reportError(msg, null, canRecover );
241 public static void reportError(String msg, Exception nested, boolean canRecover) throws SAXException {
244 canRecover? ValidationEvent.ERROR : ValidationEvent.FATAL_ERROR,
247 nested ), canRecover );