- throw new DocumentedException("Unable to properly close session "
- + getNetconfSessionIdForReporting(), e, DocumentedException.ErrorType.APPLICATION,
- DocumentedException.ErrorTag.OPERATION_FAILED,
- DocumentedException.ErrorSeverity.ERROR, Collections.singletonMap(
- DocumentedException.ErrorSeverity.ERROR.toString(), e.getMessage()));
+ throw new DocumentedException("Unable to properly close session " + getNetconfSessionIdForReporting(), e,
+ ErrorType.APPLICATION, DocumentedException.ErrorTag.OPERATION_FAILED, ErrorSeverity.ERROR,
+ Map.of(ErrorSeverity.ERROR.toString(), e.getMessage()));