注释类型 OnProcessError


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface OnProcessError
    Marks a method to be called if an exception is thrown by an ItemProcessor

    Expected signature: void onProcessError(T item, Exception e)
    从以下版本开始:
    2.0
    作者:
    Lucas Ward
    另请参阅:
    ItemProcessListener