iText 8.0.2 API
iText.Commons.Exceptions.CommonsExceptionMessageConstant Class Reference

Class that bundles all the error message templates as constants. More...

Static Public Attributes

const String  ELEMENT_ALREADY_HAS_IDENTIFIER
  Message warns about overriding of the identifier of identifiable element. More...
 
const String  FILE_SHOULD_EXIST = "File should exist."
 
const String  FILE_NAME_ALREADY_EXIST = "File name: {0}, already exists."
 
const String  FILE_NAME_CAN_NOT_BE_NULL = "File name can not be null."
 
const String  FILE_NAME_SHOULD_BE_UNIQUE = "File name should be unique."
 
const String  INVALID_USAGE_CONFIGURATION_FORBIDDEN
 
const String  INVALID_USAGE_FORMAT_REQUIRED = "Invalid usage of placeholder \"{0}\": format is " + "required"
 
const String  JSON_OBJECT_CAN_NOT_BE_NULL = "Passed json object can not be null"
 
const String  NO_EVENTS_WERE_REGISTERED_FOR_THE_DOCUMENT = "No events were registered for the " + "document!"
 
const String  PATTERN_CONTAINS_OPEN_QUOTATION = "Pattern contains open quotation!"
 
const String  PATTERN_CONTAINS_UNEXPECTED_CHARACTER = "Pattern contains unexpected character {0}"
 
const String  PATTERN_CONTAINS_UNEXPECTED_COMPONENT = "Pattern contains unexpected component {0}"
 
const String  PRODUCT_NAME_CAN_NOT_BE_NULL = "Product name can not be null."
 
const String  STREAM_CAN_NOT_BE_NULL = "Passed stream can not be null"
 
const String  UNKNOWN_ITEXT_EXCEPTION = "Unknown ITextException."
 
const String  ZIP_ENTRY_NOT_FOUND = "Zip entry not found for name: {0}"
 

Detailed Description

Class that bundles all the error message templates as constants.

Member Data Documentation

◆ ELEMENT_ALREADY_HAS_IDENTIFIER

const String iText.Commons.Exceptions.CommonsExceptionMessageConstant.ELEMENT_ALREADY_HAS_IDENTIFIER
static
Initial value:
= "Element already has sequence id: {0}, new id {1} " +
"will be ignored"

Message warns about overriding of the identifier of identifiable element.

Message warns about overriding of the identifier of identifiable element. List of params:

  • 0th is an original element identifier;
  • 1st is a new element identifier;

◆ INVALID_USAGE_CONFIGURATION_FORBIDDEN

const String iText.Commons.Exceptions.CommonsExceptionMessageConstant.INVALID_USAGE_CONFIGURATION_FORBIDDEN
static
Initial value:
= "Invalid usage of placeholder \"{0}\": any " +
"configuration is forbidden"