View Javadoc
1   package org.csveed.report;
2   
3   import java.util.ArrayList;
4   import java.util.List;
5   
6   public class GeneralError extends AbstractCsvError {
7   
8       public GeneralError(String message) {
9           super(message);
10      }
11  
12      @Override
13      public List<String> getPrintableLines() {
14          return getMessageAsList();
15      }
16  
17      @Override
18      public List<RowPart> getRowParts() {
19          return new ArrayList<>();
20      }
21  
22      @Override
23      public int getLineNumber() {
24          return -1;
25      }
26  }