1
2
3
4
5
6
7
8
9
10
11 package org.csveed.report;
12
13 import java.util.ArrayList;
14 import java.util.List;
15
16
17
18
19 public class GeneralError extends AbstractCsvError {
20
21
22
23
24
25
26
27 public GeneralError(String message) {
28 super(message);
29 }
30
31 @Override
32 public List<String> getPrintableLines() {
33 return getMessageAsList();
34 }
35
36 @Override
37 public List<RowPart> getRowParts() {
38 return new ArrayList<>();
39 }
40
41 @Override
42 public int getLineNumber() {
43 return -1;
44 }
45 }