Update OperationFailedException design 29/95329/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 23 Feb 2021 18:35:59 +0000 (19:35 +0100)
committerRobert Varga <nite@hq.sk>
Wed, 24 Feb 2021 09:28:10 +0000 (09:28 +0000)
commit5efd2c346280e705c7bc14d8fa503dc7c68b0089
treeea79fa8f5ac0a196ce3963075b7361087f683904
parentcbadacd601e11552b749edfaaa19b64b9804e55f
Update OperationFailedException design

The constructors are a pure hell to work with. Add Collection-based
errors as well as a single-error constructor. Improve defences
against nulls while retaining reasonable behavior.

Change-Id: I80e0866170ae78edb0bcdf526465125ba956f90e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-common/src/main/java/module-info.java
yang/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/OperationFailedException.java