@@ -29,20 +29,20 @@ public final class KernelExceptionMessageConstant {
29
29
public static final String AMOUNT_OF_BYTES_LESS_THAN_ZERO =
30
30
"Amount of bytes in the PDF document cannot be less than zero" ;
31
31
public static final String ANNOTATION_SHALL_HAVE_REFERENCE_TO_PAGE = "Annotation shall have reference to page." ;
32
- public static final String APPEND_MODE_REQUIRES_A_DOCUMENT_WITHOUT_ERRORS_EVEN_IF_RECOVERY_IS_POSSIBLE = "Append "
33
- + " mode requires a document without errors, even if recovery is possible." ;
32
+ public static final String APPEND_MODE_REQUIRES_A_DOCUMENT_WITHOUT_ERRORS_EVEN_IF_RECOVERY_IS_POSSIBLE =
33
+ "Append mode requires a document without errors, even if recovery is possible." ;
34
34
public static final String BAD_CERTIFICATE_AND_KEY = "Bad public key certificate and/or private key." ;
35
- public static final String BAD_USER_PASSWORD = "Bad user password. Password is not provided or wrong password "
36
- + "provided. Correct password should be passed to PdfReader constructor with properties. "
37
- + "See ReaderProperties#setPassword() method." ;
35
+ public static final String BAD_USER_PASSWORD =
36
+ "Bad user password. Password is not provided or wrong password provided. Correct password should be passed "
37
+ + "to PdfReader constructor with properties. See ReaderProperties#setPassword() method." ;
38
38
public static final String CANNOT_ADD_KID_TO_THE_FLUSHED_ELEMENT = "Cannot add kid to the flushed element." ;
39
- public static final String CANNOT_BE_EMBEDDED_DUE_TO_LICENSING_RESTRICTIONS = "{0} cannot be embedded due to "
40
- + " licensing restrictions." ;
39
+ public static final String CANNOT_BE_EMBEDDED_DUE_TO_LICENSING_RESTRICTIONS =
40
+ "{0} cannot be embedded due to licensing restrictions." ;
41
41
public static final String CANNOT_CLOSE_DOCUMENT = "Cannot close document." ;
42
- public static final String CANNOT_CLOSE_DOCUMENT_WITH_ALREADY_FLUSHED_PDF_CATALOG = "Cannot close document with "
43
- + " already flushed PDF Catalog." ;
44
- public static final String CANNOT_CONVERT_PDF_ARRAY_TO_AN_ARRAY_OF_BOOLEANS = "Cannot convert PdfArray to an "
45
- + " array of booleans" ;
42
+ public static final String CANNOT_CLOSE_DOCUMENT_WITH_ALREADY_FLUSHED_PDF_CATALOG =
43
+ "Cannot close document with already flushed PDF Catalog." ;
44
+ public static final String CANNOT_CONVERT_PDF_ARRAY_TO_AN_ARRAY_OF_BOOLEANS =
45
+ "Cannot convert PdfArray to an array of booleans" ;
46
46
public static final String CANNOT_CONVERT_PDF_ARRAY_TO_DOUBLE_ARRAY = "Cannot convert PdfArray to an array "
47
47
+ "of doubles." ;
48
48
public static final String CANNOT_CONVERT_PDF_ARRAY_TO_INT_ARRAY = "Cannot convert PdfArray to an array "
@@ -318,10 +318,12 @@ public final class KernelExceptionMessageConstant {
318
318
public static final String UNKNOWN_ENCRYPTION_TYPE_V = "Unknown encryption type V == {0}." ;
319
319
public static final String UNKNOWN_GRAPHICS_STATE_DICTIONARY = "{0} is an unknown graphics state dictionary." ;
320
320
public static final String UNKNOWN_PDF_EXCEPTION = "Unknown PdfException." ;
321
+ public static final String UNSUPPORTED_ASN1_ENCODING =
322
+ "Unknown ASN1-encoding {0}. Only DER and BER encodings are supported!" ;
321
323
public static final String UNSUPPORTED_FONT_EMBEDDING_STRATEGY = "Unsupported font embedding strategy." ;
322
324
public static final String UNSUPPORTED_XOBJECT_TYPE = "Unsupported XObject type." ;
323
- public static final String WHEN_ADDING_OBJECT_REFERENCE_TO_THE_TAG_TREE_IT_MUST_BE_CONNECTED_TO_NOT_FLUSHED_OBJECT = ""
324
- + "When adding object reference to the tag tree, it must be connected to not flushed object." ;
325
+ public static final String WHEN_ADDING_OBJECT_REFERENCE_TO_THE_TAG_TREE_IT_MUST_BE_CONNECTED_TO_NOT_FLUSHED_OBJECT =
326
+ "When adding object reference to the tag tree, it must be connected to not flushed object." ;
325
327
public static final String WHITE_POINT_IS_INCORRECTLY_SPECIFIED = "White point is incorrectly specified." ;
326
328
public static final String WMF_IMAGE_EXCEPTION = "WMF image exception." ;
327
329
public static final String WRONG_MEDIA_BOX_SIZE_TOO_FEW_ARGUMENTS = "Wrong media box size: {0}. Need at least 4 "
0 commit comments