Motivation: There are several overloads of streamError(), with one receiving the Throwable to be made the cause of the new exception. However, the wrong overload was being called and instead the IllegalArgumentException was being passed as a message format argument which was summarily thrown away as the message format didn't reference it. Modifications: Move IllegalArgumentException to proper argument position. Result: A useful exception, with the underlying cause available. |
||
---|---|---|
.. | ||
src | ||
pom.xml |