diff options
author | 2017-09-07 13:06:55 +0200 | |
---|---|---|
committer | 2017-09-07 13:06:55 +0200 | |
commit | fc809432b5560bf36e7d5b14b998751ed0e9a229 (patch) | |
tree | e675598fa676fda888771e3c6c19545cbb93f021 /ioam/impl/src | |
parent | 318770c809b879b714ea6a81a057c5eac1400064 (diff) |
Fix error-handling issues found by Sonar
Change-Id: Ic370f72c16beaf56003021a6a89f751de8b744b8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'ioam/impl/src')
-rwxr-xr-x | ioam/impl/src/main/java/io/fd/hc2vpp/vppioam/impl/config/IoamTraceWriterCustomizer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ioam/impl/src/main/java/io/fd/hc2vpp/vppioam/impl/config/IoamTraceWriterCustomizer.java b/ioam/impl/src/main/java/io/fd/hc2vpp/vppioam/impl/config/IoamTraceWriterCustomizer.java index 2e260e108..af9e5dadd 100755 --- a/ioam/impl/src/main/java/io/fd/hc2vpp/vppioam/impl/config/IoamTraceWriterCustomizer.java +++ b/ioam/impl/src/main/java/io/fd/hc2vpp/vppioam/impl/config/IoamTraceWriterCustomizer.java @@ -93,7 +93,7 @@ public class IoamTraceWriterCustomizer extends FutureJVppIoamtraceCustomizer } public TraceProfileAddReply addTraceConfig(TraceConfig traceConfig, - final InstanceIdentifier<TraceConfig> id) throws Exception { + final InstanceIdentifier<TraceConfig> id) throws WriteFailedException { TraceProfileAdd traceProfileAdd = new TraceProfileAdd(); traceProfileAdd.traceType = traceConfig.getTraceType().byteValue(); //trace type @@ -110,7 +110,7 @@ public class IoamTraceWriterCustomizer extends FutureJVppIoamtraceCustomizer } public TraceProfileDelReply deleteTraceConfig(TraceConfig dataBefore, - final InstanceIdentifier<TraceConfig> id) throws Exception { + final InstanceIdentifier<TraceConfig> id) throws WriteFailedException { TraceProfileDel del = new TraceProfileDel(); /* Write to VPP */ |