BUG-3051: Fix error reporting string 57/22157/3
authorRobert Varga <rovarga@cisco.com>
Mon, 8 Jun 2015 16:43:05 +0000 (18:43 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 9 Jun 2015 10:02:36 +0000 (10:02 +0000)
commit5b0dbd8fcf7705110d461ae2adac7e0568d2d965
tree46dbc85186f5d0078db6ab792f28615697721fe6
parentea66906d19c0ded8c26c16abedf1bee5025fde92
BUG-3051: Fix error reporting string

The exception thrown does not accurately describe what has happened. Be
more user-friendly and report the exact pattern which failed to match.

Change-Id: I0818c92c4a8cdf8c180234635c1efe059ff1c4e2
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit 3680886f73ef87fb2818c57b12d3bc76525c3669)
code-generator/binding-java-api-generator/src/main/java/org/opendaylight/yangtools/sal/java/api/generator/ClassTemplate.xtend