Add the exception which cause the documented exception.
Change-Id: Iedf5ec8f6f914d7a701cdbf257d8a2d7b33b14c5
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
try {
netconfSession.startExiCommunication(new NetconfMessage(message));
} catch (IllegalArgumentException e) {
- throw new DocumentedException("Failed to parse EXI parameters", ErrorType.protocol,
+ throw new DocumentedException("Failed to parse EXI parameters", e, ErrorType.protocol,
ErrorTag.operation_failed, ErrorSeverity.error);
}