472473474475476477478479480481482
{ super.doDestroy(); } catch ( Exception e ) { errors.addThrowable( e ); } // This is specific to the JDBM store : close the record manager try {
484485486487488489490491492493494
LOG.debug( "Closed record manager for {} partition.", suffixDn ); } catch ( Throwable t ) { LOG.error( I18n.err( I18n.ERR_127 ), t ); errors.addThrowable( t ); } finally { if ( entryCache != null ) {
341342343344345346347348349350351
if ( error == null ) { error = new MultiException( I18n.err( I18n.ERR_265 ) ); } error.addThrowable( e ); } for ( Partition partition : this.partitions.values() ) { try
360361362363364365366367368369370
//noinspection ThrowableInstanceNeverThrown error = new MultiException( I18n.err( I18n.ERR_265 ) ); } // @todo really need to send this info to a monitor error.addThrowable( e ); } } if ( error != null ) {
118119120121122123124125126127128
if ( !errors.isEmpty() ) { MultiException e = new MultiException(); for ( Throwable t : errors ) { e.addThrowable( t ); } throw e; }
488489490491492493494495496497498
490491492493494495496497498499500
LOG.debug( "Closed {} index for {} partition.", index.getAttributeId(), suffixDn ); } catch ( Throwable t ) { LOG.error( I18n.err( I18n.ERR_124 ), t ); errors.addThrowable( t ); } } try {
502503504505506507508509510511512
LOG.debug( I18n.err( I18n.ERR_125, suffixDn ) ); } catch ( Throwable t ) { LOG.error( I18n.err( I18n.ERR_126 ), t ); errors.addThrowable( t ); } try { recMan.close();
513514515516517518519520521522523
LOG.debug( "Closed record manager for {} partition.", suffixDn ); } catch ( Throwable t ) { LOG.error( I18n.err( I18n.ERR_127 ), t ); errors.addThrowable( t ); } if ( errors.size() > 0 ) { throw errors;