public class AssertExceptionHandler extends java.lang.Object implements ExceptionHandler
StrictExceptionHandler
Modifier and Type | Method and Description |
---|---|
static ExceptionHandler |
getInstance() |
void |
handleException(java.lang.String msg,
java.lang.Exception ex)
This function handles the exception.
|
public static ExceptionHandler getInstance()
public void handleException(java.lang.String msg, java.lang.Exception ex) throws CookXmlException
ExceptionHandler
handleException
in interface ExceptionHandler
msg
- The message that goes along with the exception.ex
- The exception to be handled.CookXmlException
- The only type of exception this handler should throw.