/** * {@inheritDoc} */ public AttributeType unregister( String numericOid ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, "Cannot modify the AttributeTypeRegistry copy" ); }
/** * Creates a new instance of LdapUnwillingToPerformException. * * @param resultCode the ResultCodeEnum for this exception */ public LdapUnwillingToPerformException( ResultCodeEnum resultCode ) { super( null ); checkResultCode( resultCode ); this.resultCode = resultCode; }
/** * {@inheritDoc} */ public void renameSchema( String originalSchemaName, String newSchemaName ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04280 ) ); }
/** * Creates a new instance of LdapUnwillingToPerformException. * * @param resultCode the ResultCodeEnum for this exception * @param message The exception message */ public LdapUnwillingToPerformException( ResultCodeEnum resultCode, String message ) { super( message ); checkResultCode( resultCode ); this.resultCode = resultCode; }
/** * {@inheritDoc} */ public void register( NameForm schemaObject ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04282 ) ); }
/** * {@inheritDoc} */ public void clear() throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04282 ) ); }
/** * {@inheritDoc} */ public LdapComparator<?> unregister( String numericOid ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04276 ) ); }
/** * {@inheritDoc} */ public void renameSchema( String originalSchemaName, String newSchemaName ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04276 ) ); }
/** * {@inheritDoc} */ public void registerDescendants( ObjectClass objectClass, List<ObjectClass> ancestors ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04284 ) ); }
/** * {@inheritDoc} */ public void register( DITContentRule schemaObject ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04277 ) ); }
/** * {@inheritDoc} */ public void register( AttributeType attributeType ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04275 ) ); }
/** * {@inheritDoc} */ public void unregister( int ruleId ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04278 ) ); }
/** * {@inheritDoc} */ public void register( MatchingRule schemaObject ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04280 ) ); }
/** * {@inheritDoc} */ public void unregisterSchemaElements( String schemaName ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04282 ) ); }
/** * {@inheritDoc} */ public void register( LdapSyntax schemaObject ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04279 ) ); }
/** * {@inheritDoc} */ public LdapSyntax unregister( LdapSyntax schemaObject ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04279 ) ); } }
/** * {@inheritDoc} */ public void unregisterSchemaElements( String schemaName ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04276 ) ); }
/** * {@inheritDoc} */ public ObjectClass unregister( String numericOid ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04284 ) ); }
/** * {@inheritDoc} */ public void unregisterSchemaElements( String schemaName ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04284 ) ); }
/** * {@inheritDoc} */ public void unregisterSchemaElements( String schemaName ) throws LdapException { throw new LdapUnwillingToPerformException( ResultCodeEnum.NO_SUCH_OPERATION, I18n.err( I18n.ERR_04285 ) ); }