public class ErrorCollectorHandler extends Object implements ErrorHandler
Modifier and Type | Field and Description |
---|---|
static String |
ERROR
ERROR of type ERROR.
|
static String |
FATAL
ERROR of type FATAL.
|
static String |
WARNING
ERROR of type WARNING.
|
Constructor and Description |
---|
ErrorCollectorHandler() |
ErrorCollectorHandler(XOPValidationHandler xopHandler) |
Modifier and Type | Method and Description |
---|---|
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
List<String> |
getExceptionList(String... errorType)
This method will return the List of exceptions for the given errorTypes.
|
boolean |
hasExceptions(String... errorType)
This method will check if the requested errorType has Exception.
|
void |
warning(SAXParseException exception) |
public static final String WARNING
public static final String ERROR
public static final String FATAL
public ErrorCollectorHandler()
public ErrorCollectorHandler(XOPValidationHandler xopHandler)
public void warning(SAXParseException exception) throws SAXException
warning
in interface ErrorHandler
SAXException
public void error(SAXParseException exception) throws SAXException
error
in interface ErrorHandler
SAXException
public void fatalError(SAXParseException exception) throws SAXException
fatalError
in interface ErrorHandler
SAXException
public final List<String> getExceptionList(String... errorType)
public final boolean hasExceptions(String... errorType)
Connector Packaging TECHNICAL 4.3.0-beta-3 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.