RIBImpl cannot really throw an exception, remove the declaration
and remove the corresponding catch block.
Change-Id: I54ebdcc33bf0c2163c646be36b79bb5658da6389
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
}
@Override
- public synchronized void close() throws Exception {
+ public synchronized void close() {
if (this.registration != null) {
this.registration.close();
this.registration = null;
@Override
public void close() {
if (this.ribImpl != null) {
- try {
- this.ribImpl.close();
- } catch (final Exception e) {
- LOG.warn("Failed to close {} rib instance", this, e);
- }
+ this.ribImpl.close();
this.ribImpl = null;
}
if (this.schemaContextRegistration != null) {