Annotation Interface MessageExceptionHandler


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface MessageExceptionHandler
Annotation for handling exceptions thrown from message-handling methods within a specific handler class.
Since:
4.0
Author:
Rossen Stoyanchev
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends Throwable>[]
    Exceptions handled by the annotated method.
  • Element Details

    • value

      Class<? extends Throwable>[] value
      Exceptions handled by the annotated method. If empty, will default to any exceptions listed in the method argument list.
      Default:
      {}