BUG-3884: add exception cause 83/29683/2
authorRobert Varga <robert.varga@pantheon.sk>
Fri, 13 Nov 2015 19:51:05 +0000 (20:51 +0100)
committerRobert Varga <nite@hq.sk>
Mon, 16 Nov 2015 11:42:17 +0000 (11:42 +0000)
Add the exception which cause the documented exception.

Change-Id: Iedf5ec8f6f914d7a701cdbf257d8a2d7b33b14c5
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
opendaylight/netconf/netconf-impl/src/main/java/org/opendaylight/netconf/impl/mapping/operations/DefaultStartExi.java

index cf891b704cfa0a5b74c4f12e9d774500355839d1..5f74aad5c138c033721fcc9f3c7cd1d695cb7c1a 100644 (file)
@@ -43,7 +43,7 @@ public class DefaultStartExi extends AbstractSingletonNetconfOperation implement
         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);
         }