Don't log cancellation exception 98/102798/1
authorJim Hahn <jrh3@att.com>
Tue, 3 Mar 2020 02:50:28 +0000 (21:50 -0500)
committerJim Hahn <jrh3@att.com>
Tue, 3 Mar 2020 02:50:28 +0000 (21:50 -0500)
commit4b402bec858a8e955d85fb872eecbad4023b15ba
tree258517d38012f51050a69d0fcedc989fbb2a8502
parentd5fc0bddf4f1e02d47a95d070c000ff0a6557edd
Don't log cancellation exception

When an Actor operation is canceled it's done on purpose, yet the whole
exception stack trace is included in the log.  Modified the code to
leave out the stack trace for cancellations.  I don't THINK this will
cause a sonar issue, as it isn't the exception is never caught via
a "catch" clause.

Issue-ID: POLICY-1625
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: Ib5238e4791ae491b30286cdc8ed9caf67432dc26
models-interactions/model-actors/actorServiceProvider/src/main/java/org/onap/policy/controlloop/actorserviceprovider/impl/OperationPartial.java