Handling exceptions
By default, when Striim encounters a non-fatal exception, it ignores it and continues. You may add an EXCEPTIONHANDLER
clause to your CREATE APPLICATION
statement to log exceptions and take various actions. The syntax is:
CREATE APPLICATION ... EXCEPTIONHANDLER ([<exception>:'<action>',...]);
Supported exceptions are:
AdapterException
ArithmeticException
ClassCastException
ConnectionException
InvalidDataException
NullPointerException
NumberFormatException
SystemException
UnexpectedDDLException
UnknownException
Supported actions are:
IGNORE
TERMINATE ("Stop Processing" in Flow Designer)
See also Writing exceptions to a WActionStore.