/*
 * The MIT License
 *
 *   Copyright (c) 2012, benas (md.benhassine@gmail.com)
 *
 *   Permission is hereby granted, free of charge, to any person obtaining a copy
 *   of this software and associated documentation files (the "Software"), to deal
 *   in the Software without restriction, including without limitation the rights
 *   to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 *   copies of the Software, and to permit persons to whom the Software is
 *   furnished to do so, subject to the following conditions:
 *
 *   The above copyright notice and this permission notice shall be included in
 *   all copies or substantial portions of the Software.
 *
 *   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 *   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 *   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 *   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 *   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 *   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 *   THE SOFTWARE.
 */

package net.benas.cb4j.core.api;

/**
 * A callback interface to rollback a record processing when an unexpected exception occurs.
 *
 * @author benas (md.benhassine@gmail.com)
 */
public interface RollbackHandler<T> {

    public void rollback(T typedRecord) throws Exception;

}

@@ -1413,37 +1413,446 @@
     
-public void rollback(T typedR
+/**%0A     * Rollback the processing of a record. This method is called when an unexpected exception occurs during record processing.%3Cbr/%3E%0A     * %3Cstrong%3EWarning :%3C/strong%3E this method is not called if you throw a %7B@link RecordProcessingException%7D deliberately during record processing.%0A     * @param record the record to rollback%0A     * @throws Exception thrown if a an exception occurs during rollback%0A     */%0A    public void rollback(T r
 ecor

fix class name