/** * Attempts to resolve the SyntaxChecker associated with a Syntax. * * @param syntax the LdapSyntax to resolve the SyntaxChecker of * @param errors the list of errors to add exceptions to */ private void resolve( LdapSyntax syntax, List<Throwable> errors ) { // A LdapSyntax must point to a valid SyntaxChecker // or to the OctetString SyntaxChecker try { syntax.addToRegistries( errors, this ); } catch ( LdapException e ) { errors.add( e ); } }