LOG.debug("Starting session negotiation on channel {}", channel);
try {
startNegotiation();
- } catch (Exception e) {
+ } catch (final Exception e) {
LOG.warn("Unexpected negotiation failure", e);
negotiationFailed(e);
}
LOG.debug("Negotiation read invoked on channel {}", channel);
try {
handleMessage((M)msg);
- } catch (Exception e) {
+ } catch (final Exception e) {
LOG.debug("Unexpected error while handling negotiation message {}", msg, e);
negotiationFailed(e);
}