Fix ClassCastException in CLI (Main.java).

This commit is contained in:
langfr
2024-08-21 00:01:22 +01:00
parent d5341f0a28
commit 81328c939b
2 changed files with 9 additions and 4 deletions

View File

@@ -72,7 +72,7 @@ public class ZUGFeRDExporterFromPDFA implements IZUGFeRDExporter {
}
protected IZUGFeRDExporter getExporter() {
public IZUGFeRDExporter getExporter() {
if (theExporter==null) {
throw new RuntimeException("In ZUGFeRDExporterFromPDFA, source must always be loaded before other operations are performed.");
}