summaryrefslogtreecommitdiff
path: root/src/main/java/it/alessandroiezzi/csv/CSVHeaderNoMatchRowFieldsException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/it/alessandroiezzi/csv/CSVHeaderNoMatchRowFieldsException.java')
-rw-r--r--src/main/java/it/alessandroiezzi/csv/CSVHeaderNoMatchRowFieldsException.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/main/java/it/alessandroiezzi/csv/CSVHeaderNoMatchRowFieldsException.java b/src/main/java/it/alessandroiezzi/csv/CSVHeaderNoMatchRowFieldsException.java
new file mode 100644
index 0000000..fe9a7cf
--- /dev/null
+++ b/src/main/java/it/alessandroiezzi/csv/CSVHeaderNoMatchRowFieldsException.java
@@ -0,0 +1,26 @@
+/*
+ * Simple and faster CSV parser/writer library.
+ *
+ * Copyright (C) 2022-2023 Alessandro Iezzi <aiezzi AT alessandroiezzi PERIOD it>
+ *
+ * csv-utils is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * csv-utils is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with csv-utils. If not, see <https://www.gnu.org/licenses/>.
+ */
+
+package it.alessandroiezzi.csv;
+
+public class CSVHeaderNoMatchRowFieldsException extends CSVException {
+ public CSVHeaderNoMatchRowFieldsException() {
+ super("The number of fields defined on header doesn't match with the number of row fields");
+ }
+}