118119120121122123124125126127128
if ( !errors.isEmpty() ) { MultiException e = new MultiException(); for ( Throwable t : errors ) { e.addThrowable( t ); } throw e; }
488489490491492493494495496497498
//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 ) {
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;
525526527528529530531532533534535
//noinspection ThrowableInstanceNeverThrown error = new MultiException( "Grouping many exceptions on root nexus sync()" ); } // @todo really need to send this info to a monitor error.addThrowable( e ); } } if ( error != null ) {
479480481482483484485486487488489
LOG.debug( "Closed {} index for {} partition.", index.getAttributeId(), suffixDn ); } catch ( Throwable t ) { LOG.error( "Failed to close an index.", t ); errors.addThrowable( t ); } } try {
491492493494495496497498499500501
LOG.debug( "Closed master table for {} partition.", suffixDn ); } catch ( Throwable t ) { LOG.error( "Failed to close the master.", t ); errors.addThrowable( t ); } try { recMan.close();