cookxml.core.exceptionhandler
Class AssertExceptionHandler

java.lang.Object
  extended bycookxml.core.exceptionhandler.AssertExceptionHandler
All Implemented Interfaces:
ExceptionHandler

public class AssertExceptionHandler
extends Object
implements ExceptionHandler

This exception handler basically works like StrictExceptionHandler if assertion is enabled. If not, then it just silently ignore the exception and message.

Since:
CookXml 2.0
See Also:
StrictExceptionHandler

Method Summary
static ExceptionHandler getInstance()
           
 void handleException(String msg, Exception ex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ExceptionHandler getInstance()

handleException

public void handleException(String msg,
                            Exception ex)
                     throws CookXmlException
Specified by:
handleException in interface ExceptionHandler
Throws:
CookXmlException