1 package com.opencsv.bean.exceptionhandler; 2 3 import com.opencsv.exceptions.CsvException; 4 5 /** 6 * An exception handler that always throws exceptions raised. 7 * 8 * @author Andrew Rucker Jones 9 * @since 5.2 10 */ 11 final public class ExceptionHandlerThrow implements CsvExceptionHandler { 12 13 /** 14 * Default Constructor. 15 */ 16 public ExceptionHandlerThrow() { 17 } 18 19 @Override 20 public CsvException handleException(CsvException e) throws CsvException { 21 throw e; 22 } 23 }