public class DefaultParserExceptionListener extends Object implements ParserExceptionListener
| Constructor and Description |
|---|
DefaultParserExceptionListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the content of the ParserExceptionListener.
|
List<ResolverSAXHandler.ExceptionResult> |
getExceptionResults()
Return the list of Exception Results.
|
List<Throwable> |
getExceptions()
Return the list of Throwables.
|
List<String> |
getMessages()
Return the list of messages.
|
void |
handleException(String message)
Handle an Exception message.
|
void |
handleException(String title,
Throwable e)
Handle a Throwable Stack Trace.
|
void |
handleExceptionList(String title,
List<ResolverSAXHandler.ExceptionResult> exceptions)
Handle SAX Exceptions encountered after an XML parsing.
|
public void clear()
public List<ResolverSAXHandler.ExceptionResult> getExceptionResults()
public List<Throwable> getExceptions()
public List<String> getMessages()
public void handleExceptionList(String title, List<ResolverSAXHandler.ExceptionResult> exceptions)
handleExceptionList in interface ParserExceptionListenertitle - the title of the Exceptionexceptions - the exception resultspublic void handleException(String title, Throwable e)
e.printStackTrace().handleException in interface ParserExceptionListenertitle - the title of the Exceptione - the Throwablepublic void handleException(String message)
handleException in interface ParserExceptionListenermessage - the message