类 DefaultItemFailureHandler

    • 字段详细资料

      • logger

        protected static final org.apache.commons.logging.Log logger
    • 方法详细资料

      • onWriteError

        public void onWriteError​(java.lang.Exception ex,
                                 java.util.List<? extends java.lang.Object> item)
        从接口复制的说明: ItemWriteListener
        Called if an error occurs while trying to write. Will be called inside a transaction, but the transaction will normally be rolled back. There is no way to identify from this callback which of the items (if any) caused the error.
        指定者:
        onWriteError 在接口中 ItemWriteListener<java.lang.Object>
        覆盖:
        onWriteError 在类中 ItemListenerSupport<java.lang.Object,​java.lang.Object>
        参数:
        ex - thrown from ItemWriter
        item - attempted to be written.