From 37af8a9cbf9daf7aa3123fe6144d926da9098e33 Mon Sep 17 00:00:00 2001 From: dsyer Date: Fri, 10 Jul 2009 14:40:54 +0000 Subject: [PATCH] BATCH-1318: clarify fatal exception and no-rollback semantics --- src/site/docbook/reference/step.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/site/docbook/reference/step.xml b/src/site/docbook/reference/step.xml index 27bfa1070..205e06f77 100644 --- a/src/site/docbook/reference/step.xml +++ b/src/site/docbook/reference/step.xml @@ -487,10 +487,9 @@ itemWriter.write(items); In this example, a FlatFileItemReader is used, and if at any point a FlatFileParseException is thrown, it will be - skipped and counted against the total skip limit of 10. It should be - noted that any failures encountered while reading will not count against - the skip limit. In other words, the skip limit is only incremented on - writes (regardless of success or failure). + skipped and counted against the total skip limit of 10. Separate counts + are made of skips on read, process and write inside the step execution, + and the limit applies across all.
@@ -518,7 +517,8 @@ itemWriter.write(items); By setting the skippable exceptions to java.lang.Exception, any exception that is thrown will be skipped. However, the second list, 'fatal-exception-classes', - contains specific exceptions that should be fatal if encountered. + contains specific exceptions that should be fatal if encountered (i.e. + not skipped).