cookxml.core.exceptionhandler
Class DebugExceptionHandler
java.lang.Object
cookxml.core.exceptionhandler.DebugExceptionHandler
- All Implemented Interfaces:
- ExceptionHandler
- public class DebugExceptionHandler
- extends Object
- implements ExceptionHandler
This exception handler output the message and exception if assertion is enabled.
Otherwise, it just silently ignore them.
- 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