diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2017-04-14 16:01:15 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2017-07-12 19:03:10 +0000 |
commit | 6658660f5c1fad24af6b85cdf26f5fd3dca0346e (patch) | |
tree | ecbf936149961d0cbce4b180f5f1f8fdf2cfc15e /utils/webseal-simulator | |
parent | dd60339b06d252fcb1382aa97ab3d65b37dad021 (diff) |
Remove Exceptions.convertToRuntimeEx()
The uses of Exceptions.convertToRuntimeEx() had two problems:
1. The cast from IOException to RuntimeException will
fail because they are incompatible types;
2. They make it unclear that an exception is being thrown.
This change replaces their uses with direct throws of
RuntimeExceptions.
Change-Id: I3af60da2bdd3230c568744f747a5910d797073c8
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'utils/webseal-simulator')
0 files changed, 0 insertions, 0 deletions