@@ -36,15 +36,28 @@ public final class CommonsExceptionMessageConstant {
36
36
*/
37
37
public static final String ELEMENT_ALREADY_HAS_IDENTIFIER = "Element already has sequence id: {0}, new id {1} " +
38
38
"will be ignored" ;
39
+
40
+ public static final String FILE_SHOULD_EXIST = "File should exist." ;
41
+ public static final String FILE_NAME_ALREADY_EXIST = "File name: {0}, already exists." ;
42
+ public static final String FILE_NAME_CAN_NOT_BE_NULL = "File name can not be null." ;
43
+ public static final String FILE_NAME_SHOULD_BE_UNIQUE = "File name should be unique." ;
39
44
public static final String INVALID_USAGE_CONFIGURATION_FORBIDDEN = "Invalid usage of placeholder \" {0}\" : any "
40
45
+ "configuration is forbidden" ;
41
- public static final String INVALID_USAGE_FORMAT_REQUIRED = "Invalid usage of placeholder \" {0}\" : format is required" ;
42
- public static final String NO_EVENTS_WERE_REGISTERED_FOR_THE_DOCUMENT = "No events were registered for the document!" ;
46
+ public static final String INVALID_USAGE_FORMAT_REQUIRED = "Invalid usage of placeholder \" {0}\" : format is "
47
+ + "required" ;
48
+ public static final String JSON_OBJECT_CAN_NOT_BE_NULL = "Passed json object can not be null" ;
49
+ public static final String NO_EVENTS_WERE_REGISTERED_FOR_THE_DOCUMENT = "No events were registered for the "
50
+ + "document!" ;
43
51
public static final String PATTERN_CONTAINS_OPEN_QUOTATION = "Pattern contains open quotation!" ;
44
52
public static final String PATTERN_CONTAINS_UNEXPECTED_CHARACTER = "Pattern contains unexpected character {0}" ;
45
53
public static final String PATTERN_CONTAINS_UNEXPECTED_COMPONENT = "Pattern contains unexpected component {0}" ;
46
54
public static final String PRODUCT_NAME_CAN_NOT_BE_NULL = "Product name can not be null." ;
55
+ public static final String STREAM_CAN_NOT_BE_NULL = "Passed stream can not be null" ;
47
56
public static final String UNKNOWN_ITEXT_EXCEPTION = "Unknown ITextException." ;
48
57
49
- private CommonsExceptionMessageConstant (){}
58
+ public static final String ZIP_ENTRY_NOT_FOUND = "Zip entry not found for name: {0}" ;
59
+
60
+ private CommonsExceptionMessageConstant () {
61
+ // Empty constructor.
62
+ }
50
63
}
0 commit comments