Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Any runtime exception thrown by the onInvoke/onComplete methods will be wrapped in a ServiceInterceptException. This exception will be passed to the initiator (user) and to onError method of the interceptor.

If onInvoke throws an exception, then the current service execution is aborted.

The exception thrown by the onError method will be added to the main exception as suppressed.If onInvoke throws an exception, then the service method will not be executed.

Passing Context in the Service Chain

...