Skip to content
Permalink
Browse files
o Changed some error message number
o Added some more
  • Loading branch information
elecharny committed Mar 7, 2019
1 parent 2d0c5eb commit f6eb1a0911958a120a10e13ff17d4e3ffad91cbf
Show file tree
Hide file tree
Showing 20 changed files with 243 additions and 160 deletions.
@@ -639,6 +639,8 @@
ERR_13514_UNKNOWN_SORT_RESPONSE_RESULT( "ERR_13514_UNKNOWN_SORT_RESPONSE_RESULT" ),
ERR_13515_UNEXPECTED_MOD_OP( "ERR_13515_UNEXPECTED_MOD_OP" ),
ERR_13516_UNEXPECTED_MESSAGE_TYPE( "ERR_13516_UNEXPECTED_MESSAGE_TYPE" ),
ERR_13517_UNEXPECTED_ALIAS_DEREF_MODE( "ERR_13517_UNEXPECTED_ALIAS_DEREF_MODE" ),
ERR_13518_CLASS_INVALID_ENULM_VALUE( "ERR_13518_CLASS_INVALID_ENULM_VALUE" ),

// name 13600 - 13699
ERR_13600_TYPE_IS_NULL_OR_EMPTY( "ERR_13600_TYPE_IS_NULL_OR_EMPTY" ),
@@ -805,37 +807,44 @@
ERR_13832_ATTRIBUTE_TYPE_DESC_PARSE_FAILURE( "ERR_13832_ATTRIBUTE_TYPE_DESC_PARSE_FAILURE" ),
ERR_13833_CANNOT_PARSE_NULL_DCR( "ERR_13833_CANNOT_PARSE_NULL_DCR" ),
ERR_13834_DCR_PARSING_FAILURE( "ERR_13834_DCR_PARSING_FAILURE" ),
ERR_13385_DCR_DESC_PARSING_FAILURE( "ERR_13385_DCR_DESC_PARSING_FAILURE" ),
ERR_13386_CANNOT_PARSE_NULL_DSR( "ERR_13386_CANNOT_PARSE_NULL_DSR" ),
ERR_13387_DSR_PARSING_FAILURE( "ERR_13387_DSR_PARSING_FAILURE" ),
ERR_13388_DSR_DESC_PARSING_FAILURE( "ERR_13388_DSR_DESC_PARSING_FAILURE" ),
ERR_13389_CANNOT_PARSE_NULL_COMP( "ERR_13389_CANNOT_PARSE_NULL_COMP" ),
ERR_13390_COMP_PARSING_FAILURE( "ERR_13390_COMP_PARSING_FAILURE" ),
ERR_13391_COMP_DESC_PARSING_FAILURE( "ERR_13391_COMP_DESC_PARSING_FAILURE" ),
ERR_13392_CANNOT_PARSE_NULL_SYNTAX( "ERR_13392_CANNOT_PARSE_NULL_SYNTAX" ),
ERR_13393_SYNTAX_PARSING_FAILURE( "ERR_13393_SYNTAX_PARSING_FAILURE" ),
ERR_13394_SYNTAX_DESC_PARSING_FAILURE( "ERR_13394_SYNTAX_DESC_PARSING_FAILURE" ),
ERR_13395_CANNOT_PARSE_NULL_MR( "ERR_13395_CANNOT_PARSE_NULL_MR" ),
ERR_13396_MR_PARSING_FAILURE( "ERR_13396_MR_PARSING_FAILURE" ),
ERR_13397_MR_DESC_PARSING_FAILURE( "ERR_13397_MR_DESC_PARSING_FAILURE" ),
ERR_13398_CANNOT_PARSE_NULL_MRU( "ERR_13398_CANNOT_PARSE_NULL_MRU" ),
ERR_13399_MRU_PARSING_FAILURE( "ERR_13399_MRU_PARSING_FAILURE" ),
ERR_13400_MRU_DESC_PARSING_FAILURE( "ERR_13400_MRU_DESC_PARSING_FAILURE" ),
ERR_13401_CANNOT_PARSE_NULL_NF( "ERR_13401_CANNOT_PARSE_NULL_NF" ),
ERR_13402_NF_PARSING_FAILURE( "ERR_13402_NF_PARSING_FAILURE" ),
ERR_13403_NF_DESC_PARSING_FAILURE( "ERR_13403_NF_DESC_PARSING_FAILURE" ),
ERR_13404_CANNOT_PARSE_NULL_NORM( "ERR_13404_CANNOT_PARSE_NULL_NORM" ),
ERR_13405_NORM_PARSING_FAILURE( "ERR_13405_NORM_PARSING_FAILURE" ),
ERR_13406_NORM_DESC_PARSING_FAILURE( "ERR_13406_NORM_DESC_PARSING_FAILURE" ),
ERR_13407_CANNOT_PARSE_NULL_OC( "ERR_13407_CANNOT_PARSE_NULL_OC" ),
ERR_13408_OC_PARSING_FAILURE( "ERR_13408_OC_PARSING_FAILURE" ),
ERR_13409_OC_DESC_PARSING_FAILURE( "ERR_13409_OC_DESC_PARSING_FAILURE" ),
ERR_13410_CANNOT_PARSE_NULL_SC( "ERR_13410_CANNOT_PARSE_NULL_SC" ),
ERR_13411_SC_PARSING_FAILURE( "ERR_13411_SC_PARSING_FAILURE" ),
ERR_13412_SC_PARSING_FAILURE( "ERR_13412_SC_PARSING_FAILURE" ),
ERR_13413_MR_DOES_NOT_HAVE_A_COMP( "ERR_13413_MR_DOES_NOT_HAVE_A_COMP" ),
ERR_13414_AT_DOES_NOT_HAVE_A_SUPERIOR_NOR_SYNTAX( "ERR_13414_AT_DOES_NOT_HAVE_A_SUPERIOR_NOR_SYNTAX" ),

ERR_13835_DCR_DESC_PARSING_FAILURE( "ERR_13385_DCR_DESC_PARSING_FAILURE" ),
ERR_13836_CANNOT_PARSE_NULL_DSR( "ERR_13386_CANNOT_PARSE_NULL_DSR" ),
ERR_13837_DSR_PARSING_FAILURE( "ERR_13387_DSR_PARSING_FAILURE" ),
ERR_13838_DSR_DESC_PARSING_FAILURE( "ERR_13838_DSR_DESC_PARSING_FAILURE" ),
ERR_13839_CANNOT_PARSE_NULL_COMP( "ERR_13839_CANNOT_PARSE_NULL_COMP" ),
ERR_13840_COMP_PARSING_FAILURE( "ERR_13840_COMP_PARSING_FAILURE" ),
ERR_13841_COMP_DESC_PARSING_FAILURE( "ERR_13841_COMP_DESC_PARSING_FAILURE" ),
ERR_13842_CANNOT_PARSE_NULL_SYNTAX( "ERR_13842_CANNOT_PARSE_NULL_SYNTAX" ),
ERR_13843_SYNTAX_PARSING_FAILURE( "ERR_13843_SYNTAX_PARSING_FAILURE" ),
ERR_13844_SYNTAX_DESC_PARSING_FAILURE( "ERR_13844_SYNTAX_DESC_PARSING_FAILURE" ),
ERR_13845_CANNOT_PARSE_NULL_MR( "ERR_13845_CANNOT_PARSE_NULL_MR" ),
ERR_13846_MR_PARSING_FAILURE( "ERR_13846_MR_PARSING_FAILURE" ),
ERR_13847_MR_DESC_PARSING_FAILURE( "ERR_13847_MR_DESC_PARSING_FAILURE" ),
ERR_13848_CANNOT_PARSE_NULL_MRU( "ERR_13848_CANNOT_PARSE_NULL_MRU" ),
ERR_13849_MRU_PARSING_FAILURE( "ERR_13849_MRU_PARSING_FAILURE" ),
ERR_13850_MRU_DESC_PARSING_FAILURE( "ERR_13850_MRU_DESC_PARSING_FAILURE" ),
ERR_13851_CANNOT_PARSE_NULL_NF( "ERR_13851_CANNOT_PARSE_NULL_NF" ),
ERR_13852_NF_PARSING_FAILURE( "ERR_13852_NF_PARSING_FAILURE" ),
ERR_13853_NF_DESC_PARSING_FAILURE( "ERR_13853_NF_DESC_PARSING_FAILURE" ),
ERR_13854_CANNOT_PARSE_NULL_NORM( "ERR_13854_CANNOT_PARSE_NULL_NORM" ),
ERR_13855_NORM_PARSING_FAILURE( "ERR_13855_NORM_PARSING_FAILURE" ),
ERR_13856_NORM_DESC_PARSING_FAILURE( "ERR_13856_NORM_DESC_PARSING_FAILURE" ),
ERR_13857_CANNOT_PARSE_NULL_OC( "ERR_13857_CANNOT_PARSE_NULL_OC" ),
ERR_13858_OC_PARSING_FAILURE( "ERR_13858_OC_PARSING_FAILURE" ),
ERR_13859_OC_DESC_PARSING_FAILURE( "ERR_13859_OC_DESC_PARSING_FAILURE" ),
ERR_13860_CANNOT_PARSE_NULL_SC( "ERR_13860_CANNOT_PARSE_NULL_SC" ),
ERR_13861_SC_PARSING_FAILURE( "ERR_13861_SC_PARSING_FAILURE" ),
ERR_13862_SC_PARSING_FAILURE( "ERR_13862_SC_PARSING_FAILURE" ),
ERR_13863_MR_DOES_NOT_HAVE_A_COMP( "ERR_13863_MR_DOES_NOT_HAVE_A_COMP" ),
ERR_13864_AT_DOES_NOT_HAVE_A_SUPERIOR_NOR_SYNTAX( "ERR_13864_AT_DOES_NOT_HAVE_A_SUPERIOR_NOR_SYNTAX" ),
ERR_13865_ERROR_PARSING_AT( "ERR_13865_ERROR_PARSING_AT" ),

// api-ldap-model subtree 13900-13999
ERR_13900_INTEGER_TOKEN_NOT_INTEGER( "ERR_13900_INTEGER_TOKEN_NOT_INTEGER" ),
ERR_13901_MESSAGE( "ERR_13901_MESSAGE" ),
ERR_13902_FILTER_PARSER_FAILED( "ERR_13902_FILTER_PARSER_FAILED" ),
ERR_13903_DN_PARSER_FAILED( "ERR_13903_DN_PARSER_FAILED" ),

// api-ldap-net-mina 14000 - 14999
ERR_14000_ERROR_ENCODING_MESSAGE( "ERR_14000_ERROR_ENCODING_MESSAGE" ),

@@ -1248,6 +1257,7 @@
MSG_06004_REGISTERED_CONTROL_FACTORY( "MSG_06004_REGISTERED_CONTROL_FACTORY" ),
MSG_06005_EXTENDED_OP_FACTORY_ALREADY_LOADED( "MSG_06005_EXTENDED_OP_FACTORY_ALREADY_LOADED" ),
MSG_06006_INTERMEDIATE_FACTORY_ALREADY_LOADED( "MSG_06006_INTERMEDIATE_FACTORY_ALREADY_LOADED" ),
MSG_06007_REGISTRED_INTERMEDIATE_RESP_FACTORY( "MSG_06007_REGISTRED_INTERMEDIATE_RESP_FACTORY" ),

// api-ldap-extras-aci 7000-7999
// none
@@ -633,6 +633,8 @@ ERR_13513_INVALID_PROXIED_AUTHZ_NO_DN_OR_U=Invalid proxied authz value: should s
ERR_13514_UNKNOWN_SORT_RESPONSE_RESULT=Unknown sort response result code {0}
ERR_13515_UNEXPECTED_MOD_OP=Unexpected ModificationOperation
ERR_13516_UNEXPECTED_MESSAGE_TYPE=Unexpected MessageTypeEnum {0}
ERR_13517_UNEXPECTED_ALIAS_DEREF_MODE=Unexpected aliasDerefMode {0}
ERR_13518_CLASS_INVALID_ENULM_VALUE=Class has bug: check for valid enumeration values

# api-ldap-model name 13600-13699
ERR_13600_TYPE_IS_NULL_OR_EMPTY=The type cannot be empty or null
@@ -799,36 +801,43 @@ ERR_13831_ATTRIBUTE_TYPE_PARSING_FAILURE=Parser failure on attribute type descri
ERR_13832_ATTRIBUTE_TYPE_DESC_PARSE_FAILURE=Parser failure on attribute type description:\n\t{0}\nAntlr message: {1}
ERR_13833_CANNOT_PARSE_NULL_DCR=Cannot parse a null DITContentRule
ERR_13834_DCR_PARSING_FAILURE=Parser failure on DIT content rule description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13385_DCR_DESC_PARSING_FAILURE=Parser failure on DIT content rule description:\n\t{0}\nAntlr message: {1}
ERR_13386_CANNOT_PARSE_NULL_DSR=Cannot parse a null DITStructureRule description
ERR_13387_DSR_PARSING_FAILURE=Parser failure on DIT structure rule description:\n\t{0}\nAntlr message: {1}nAntlr column: {2}
ERR_13388_DSR_DESC_PARSING_FAILURE=Parser failure on DIT structure rule description:\n\t{0}\nAntlr message: {1}
ERR_13389_CANNOT_PARSE_NULL_COMP=Cannot parse a null LdapComparator description
ERR_13390_COMP_PARSING_FAILURE=Parser failure on comparator description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13391_COMP_DESC_PARSING_FAILURE=Parser failure on comparator description:\n\t{0}\nAntlr message: {1}
ERR_13392_CANNOT_PARSE_NULL_SYNTAX=Cannot parse a null LdapSyntax
ERR_13393_SYNTAX_PARSING_FAILURE=Parser failure on LDAP syntax description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13394_SYNTAX_DESC_PARSING_FAILURE=Parser failure on LDAP syntax description:\n\t{0}\nAntlr message: {1}
ERR_13395_CANNOT_PARSE_NULL_MR=Cannot parse a null MatchingRule
ERR_13396_MR_PARSING_FAILURE=Parser failure on matching rule description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13397_MR_DESC_PARSING_FAILURE=Parser failure on matching rule description:\n\t{0}\nAntlr message: {1}
ERR_13398_CANNOT_PARSE_NULL_MRU=Cannot parse a null MatchingRuleUse
ERR_13399_MRU_PARSING_FAILURE=Parser failure on matching rule description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13400_MRU_DESC_PARSING_FAILURE=Parser failure on matching rule description:\n\t{0}\nAntlr message: {1}
ERR_13401_CANNOT_PARSE_NULL_NF=Cannot parse a null NameForm
ERR_13402_NF_PARSING_FAILURE=Parser failure on name form description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13403_NF_DESC_PARSING_FAILURE=Parser failure on name form description:\n\t{0}\nAntlr message: {1}
ERR_13404_CANNOT_PARSE_NULL_NORM=Cannot parse a null Normalizer description
ERR_13405_NORM_PARSING_FAILURE=Parser failure on normalizer description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13406_NORM_DESC_PARSING_FAILURE=Parser failure on normalizer description:\n\t{0}\nAntlr message: {1}
ERR_13407_CANNOT_PARSE_NULL_OC=Cannot parse a null ObjectClass description
ERR_13408_OC_PARSING_FAILURE=Parser failure on object class description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13409_OC_DESC_PARSING_FAILURE=Parser failure on object class description:\n\t{0}\nAntlr message: {1}
ERR_13410_CANNOT_PARSE_NULL_SC=Cannot parse a null SyntaxChecker description
ERR_13411_SC_PARSING_FAILURE=Parser failure on syntax checker description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13412_SC_PARSING_FAILURE=Parser failure on syntax checker description:\n\t{0}\nAntlr message: {1}
ERR_13413_MR_DOES_NOT_HAVE_A_COMP=The MatchingRule {0} does not have a comparator. This is invalid
ERR_13414_AT_DOES_NOT_HAVE_A_SUPERIOR_NOR_SYNTAX=The AttributeType {0} does not have a superior nor a Syntax. This is invalid
ERR_13835_DCR_DESC_PARSING_FAILURE=Parser failure on DIT content rule description:\n\t{0}\nAntlr message: {1}
ERR_13836_CANNOT_PARSE_NULL_DSR=Cannot parse a null DITStructureRule description
ERR_13837_DSR_PARSING_FAILURE=Parser failure on DIT structure rule description:\n\t{0}\nAntlr message: {1}nAntlr column: {2}
ERR_13838_DSR_DESC_PARSING_FAILURE=Parser failure on DIT structure rule description:\n\t{0}\nAntlr message: {1}
ERR_13839_CANNOT_PARSE_NULL_COMP=Cannot parse a null LdapComparator description
ERR_13840_COMP_PARSING_FAILURE=Parser failure on comparator description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13841_COMP_DESC_PARSING_FAILURE=Parser failure on comparator description:\n\t{0}\nAntlr message: {1}
ERR_13842_CANNOT_PARSE_NULL_SYNTAX=Cannot parse a null LdapSyntax
ERR_13843_SYNTAX_PARSING_FAILURE=Parser failure on LDAP syntax description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13844_SYNTAX_DESC_PARSING_FAILURE=Parser failure on LDAP syntax description:\n\t{0}\nAntlr message: {1}
ERR_13845_CANNOT_PARSE_NULL_MR=Cannot parse a null MatchingRule
ERR_13846_MR_PARSING_FAILURE=Parser failure on matching rule description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13847_MR_DESC_PARSING_FAILURE=Parser failure on matching rule description:\n\t{0}\nAntlr message: {1}
ERR_13848_CANNOT_PARSE_NULL_MRU=Cannot parse a null MatchingRuleUse
ERR_13849_MRU_PARSING_FAILURE=Parser failure on matching rule description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13850_MRU_DESC_PARSING_FAILURE=Parser failure on matching rule description:\n\t{0}\nAntlr message: {1}
ERR_13851_CANNOT_PARSE_NULL_NF=Cannot parse a null NameForm
ERR_13852_NF_PARSING_FAILURE=Parser failure on name form description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13853_NF_DESC_PARSING_FAILURE=Parser failure on name form description:\n\t{0}\nAntlr message: {1}
ERR_13854_CANNOT_PARSE_NULL_NORM=Cannot parse a null Normalizer description
ERR_13855_NORM_PARSING_FAILURE=Parser failure on normalizer description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13856_NORM_DESC_PARSING_FAILURE=Parser failure on normalizer description:\n\t{0}\nAntlr message: {1}
ERR_13857_CANNOT_PARSE_NULL_OC=Cannot parse a null ObjectClass description
ERR_13858_OC_PARSING_FAILURE=Parser failure on object class description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13859_OC_DESC_PARSING_FAILURE=Parser failure on object class description:\n\t{0}\nAntlr message: {1}
ERR_13860_CANNOT_PARSE_NULL_SC=Cannot parse a null SyntaxChecker description
ERR_13861_SC_PARSING_FAILURE=Parser failure on syntax checker description:\n\t{0}\nAntlr message: {1}\nAntlr column: {2}
ERR_13862_SC_PARSING_FAILURE=Parser failure on syntax checker description:\n\t{0}\nAntlr message: {1}
ERR_13863_MR_DOES_NOT_HAVE_A_COMP=The MatchingRule {0} does not have a comparator. This is invalid
ERR_13864_AT_DOES_NOT_HAVE_A_SUPERIOR_NOR_SYNTAX=The AttributeType {0} does not have a superior nor a Syntax. This is invalid
ERR_13865_ERROR_PARSING_AT=Error parsing attribute type {0}: {1}

# api-ldap-model subtree 13900-13999
ERR_13900_INTEGER_TOKEN_NOT_INTEGER=Value of INTEGER token {0} cannot be converted to an Integer
ERR_13901_MESSAGE={0}
ERR_13902_FILTER_PARSER_FAILED=filterParser failed. {0}
ERR_13903_DN_PARSER_FAILED=dnParser failed for {0} {1}

# api-ldap-net-mina 14000-14999
ERR_14000_ERROR_ENCODING_MESSAGE=Error while encoding message {0}: {1}
@@ -258,6 +258,7 @@ MSG_06003_CONTROL_FACTORY_ALREADY_LOADED=Factory for control {0} was already loa
MSG_06004_REGISTERED_CONTROL_FACTORY=Registered control factory: {0}
MSG_06005_EXTENDED_OP_FACTORY_ALREADY_LOADED=Factory for extended operation {0} was already loaded
MSG_06006_INTERMEDIATE_FACTORY_ALREADY_LOADED=Factory for Intermediate Response {0} was already loaded
MSG_06007_REGISTRED_INTERMEDIATE_RESP_FACTORY=Registered pre-bundled Intermediate Response factory: {0}

# api-ldap-extras-aci 7000-7999
# none
@@ -517,7 +517,7 @@ private void loadIntermediateResponse( String intermediateResponseFQCN ) throws

if ( LOG.isInfoEnabled() )
{
LOG.info( "Registered pre-bundled Intermediate Response factory: {}", factory.getOid() );
LOG.info( I18n.msg( I18n.MSG_06007_REGISTRED_INTERMEDIATE_RESP_FACTORY, factory.getOid() ) );
}
}
}

0 comments on commit f6eb1a0

Please sign in to comment.