1 package au.com.bytecode.opencsv;
2
3 import java.io.IOException;
4 import java.io.Writer;
5
6 /**
7 * Created by IntelliJ IDEA.
8 * User: sconway
9 * Date: 6/5/11
10 * Time: 7:08 PM
11 * To change this template use File | Settings | File Templates.
12 */
13 public class CSVWriterExceptionThrower extends CSVWriter {
14 public CSVWriterExceptionThrower(Writer writer) {
15 super(writer);
16 }
17
18 @Override
19 public void flush() throws IOException {
20 throw new IOException("Exception thrown from Mock test flush method");
21 }
22 }