public abstract class AbstractSAXErrorHandler extends Object implements ISAXErrorHandler
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSAXErrorHandler()
Constructor without parent error handler.
|
|
AbstractSAXErrorHandler(ErrorHandler aWrappedErrorHandler)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
error(SAXParseException ex) |
void |
fatalError(SAXParseException ex) |
static com.helger.commons.error.IError |
getSaxParseError(com.helger.commons.error.level.IErrorLevel aErrorLevel,
SAXParseException ex)
Utility method to convert a
SAXParseException into an
IError. |
ErrorHandler |
getWrappedErrorHandler()
Deprecated.
|
protected abstract void |
internalLog(com.helger.commons.error.level.IErrorLevel aErrorLevel,
SAXParseException aException) |
String |
toString() |
void |
warning(SAXParseException ex) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitandThenprotected AbstractSAXErrorHandler()
@Deprecated public AbstractSAXErrorHandler(@Nullable ErrorHandler aWrappedErrorHandler)
aWrappedErrorHandler - The parent error handler. May be null.@Nullable @Deprecated public ErrorHandler getWrappedErrorHandler()
null.@Nonnull public static com.helger.commons.error.IError getSaxParseError(@Nonnull com.helger.commons.error.level.IErrorLevel aErrorLevel, @Nonnull SAXParseException ex)
SAXParseException into an
IError.aErrorLevel - The occurred error level. May not be null.ex - The exception to convert. May not be null.IError representation. Never null.protected abstract void internalLog(@Nonnull com.helger.commons.error.level.IErrorLevel aErrorLevel, @Nonnull SAXParseException aException)
public final void warning(SAXParseException ex) throws SAXException
warning in interface ErrorHandlerSAXExceptionpublic final void error(SAXParseException ex) throws SAXException
error in interface ErrorHandlerSAXExceptionpublic final void fatalError(SAXParseException ex) throws SAXException
fatalError in interface ErrorHandlerSAXExceptionCopyright © 2014–2016 Philip Helger. All rights reserved.