cookxml.core.exceptionhandler
Class StrictExceptionHandler
java.lang.Object
cookxml.core.exceptionhandler.StrictExceptionHandler
- All Implemented Interfaces:
- ExceptionHandler
- public class StrictExceptionHandler
- extends Object
- implements ExceptionHandler
This exception handler will re-throw the exception, which immediately interrupt
any further XML decoding.
- Since:
- CookXml 2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ExceptionHandler getInstance()
handleException
public void handleException(String msg,
Exception ex)
throws CookXmlException
- Specified by:
handleException
in interface ExceptionHandler
- Throws:
CookXmlException
produceException
public static boolean produceException(String msg,
Exception ex)
throws CookXmlException
- Throws:
CookXmlException