better error message

This commit is contained in:
jstaerk
2021-12-09 11:39:21 +01:00
parent c4154564bf
commit dea6d1738a
2 changed files with 3 additions and 1 deletions

View File

@@ -78,7 +78,7 @@ public class ZUGFeRDExporterFromA1 extends ZUGFeRDExporterFromA3 implements IZUG
public boolean ensurePDFIsValid(final DataSource dataSource) throws IOException {
if (!ignorePDFAErrors && !isValidA1(dataSource)) {
throw new IOException("File is not a valid PDF/A input file");
throw new IOException("File is not a valid PDF/A-1 input file");
}
return true;
}