@Retention(RUNTIME) @Target(METHOD) public @interface ChainExceptionHandler
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Error code that will be associated with exceptions
  • 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 be considered as default value
      Default:
      {}
    • errorCode

      ErrorCode errorCode
      Error code that will be associated with exceptions