Annotation Interface ExceptionResolver


@Retention(RUNTIME) @Target(METHOD) @Documented public @interface ExceptionResolver
Annotation for handling exceptions in specific command classes and/or its methods.
  • 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.
      Returns:
      Exceptions handled by annotated method
      Default:
      {}