BUG-1469: introduce ReflectiveExceptionMapper 09/9609/5
authorRobert Varga <rovarga@cisco.com>
Sat, 2 Aug 2014 10:34:00 +0000 (12:34 +0200)
committerRobert Varga <rovarga@cisco.com>
Sun, 3 Aug 2014 10:47:20 +0000 (12:47 +0200)
commit25ca085ff1b680c65da57497742a9f63826e8df5
treea558adbc9853ff1db6a8d8102a11fbc6464cc38a
parente609ad90a443547fa613118274a8773fa90c839f
BUG-1469: introduce ReflectiveExceptionMapper

Convenience class for use when simple instantiation is acceptable and
the mapper instance can be shared.

Change-Id: I1946155a46b94fda5067ccbffcbf3b72f2ce8e3d
Signed-off-by: Robert Varga <rovarga@cisco.com>
common/util/src/main/java/org/opendaylight/yangtools/util/concurrent/ExceptionMapper.java
common/util/src/main/java/org/opendaylight/yangtools/util/concurrent/ReflectiveExceptionMapper.java [new file with mode: 0644]
common/util/src/test/java/org/opendaylight/yangtools/util/concurrent/ReflectiveExceptionMapperTest.java [new file with mode: 0644]