/** * {@inheritDoc} */ @Override public ChangeLogEvent log( LdapPrincipal principal, LdifEntry forward, LdifEntry reverse ) throws LdapException { if ( !enabled ) { throw new IllegalStateException( I18n.err( I18n.ERR_236 ) ); } try { return store.log( principal, forward, reverse ); } catch ( Exception e ) { throw new LdapUnwillingToPerformException( ResultCodeEnum.UNWILLING_TO_PERFORM, e.getMessage(), e ); } }
/** * {@inheritDoc} */ @Override public ChangeLogEvent log( LdapPrincipal principal, LdifEntry forward, List<LdifEntry> reverses ) throws LdapException { if ( !enabled ) { throw new IllegalStateException( I18n.err( I18n.ERR_236 ) ); } try { return store.log( principal, forward, reverses ); } catch ( Exception e ) { throw new LdapUnwillingToPerformException( ResultCodeEnum.UNWILLING_TO_PERFORM, e.getMessage(), e ); } }