public interface ExceptionHandler
Modifier and Type | Method and Description |
---|---|
void |
handleException(java.lang.String msg,
java.lang.Exception ex)
This function handles the exception.
|
void handleException(java.lang.String msg, java.lang.Exception ex) throws CookXmlException
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.