Striim 3.9.7 documentation

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:

  • ArithmeticException

  • ClassCastException

  • ConnectionException

  • InvalidDataException

  • NullPointerException

  • NumberFormatException

  • SystemException

  • UnknownException

Supported actions are:

  • IGNORE

  • STOP

Seel also Writing exceptions to a WActionStore.