try {
registerWithOSGIConsole();
logger.info("LISP (RFC6830) Mapping Service init finished");
- } catch (Throwable t) {
- logger.error(t.getStackTrace().toString());
+ } catch (Exception e) {
+ logger.error(e.getStackTrace().toString());
}
}
try {
this.service.handlePacket(packet);
- } catch (Throwable t) {
- logger.warn("Error while handling packet", t);
+ } catch (Exception e) {
+ logger.warn("Error while handling packet", e);
}
}
lispSouthboundService.setNotificationProvider(session.getSALService(NotificationProviderService.class));
lispXtrSouthboundService.setNotificationProvider(session.getSALService(NotificationProviderService.class));
session.addRpcImplementation(LispflowmappingService.class, this);
- } catch (Throwable t) {
- logger.error(t.getMessage(), t);
+ } catch (Exception e) {
+ logger.error(e.getMessage(), e);
}
}