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 ErrorHandlerSAXExceptionpublic void error(SAXParseException exception) throws SAXException
error in interface ErrorHandlerSAXExceptionpublic void fatalError(SAXParseException exception) throws SAXException
fatalError in interface ErrorHandlerSAXExceptionpublic final List<String> getExceptionList(String... errorType)
public final boolean hasExceptions(String... errorType)
Connector Packaging generic 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.