protected final void handleCallBackError( final Throwable error, final ServiceReference target, final TargetedPID pid ) { if ( error instanceof ConfigurationException ) { final ConfigurationException ce = ( ConfigurationException ) error; if ( ce.getProperty() != null ) { Log.logger.log( LogService.LOG_ERROR, "{0}: Updating property {1} of configuration {2} caused a problem: {3}", new Object[] { target , ce.getProperty(), pid, ce.getReason(), ce } ); } else { Log.logger.log( LogService.LOG_ERROR, "{0}: Updating configuration {1} caused a problem: {2}", new Object[] { target, pid, ce.getReason(), ce } ); } } else { { Log.logger.log( LogService.LOG_ERROR, "{0}: Unexpected problem updating configuration {1}", new Object[] { target, pid, error } ); } } }
protected final void handleCallBackError( final Throwable error, final ServiceReference target, final TargetedPID pid ) { if ( error instanceof ConfigurationException ) { final ConfigurationException ce = ( ConfigurationException ) error; if ( ce.getProperty() != null ) { Log.logger.log( LogService.LOG_ERROR, "{0}: Updating property {1} of configuration {2} caused a problem: {3}", new Object[] { target , ce.getProperty(), pid, ce.getReason(), ce } ); } else { Log.logger.log( LogService.LOG_ERROR, "{0}: Updating configuration {1} caused a problem: {2}", new Object[] { target, pid, ce.getReason(), ce } ); } } else { { Log.logger.log( LogService.LOG_ERROR, "{0}: Unexpected problem updating configuration {1}", new Object[] { target, pid, error } ); } } }