aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-os-common/Berksfile
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-04-14 16:01:15 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-07-12 19:03:10 +0000
commit6658660f5c1fad24af6b85cdf26f5fd3dca0346e (patch)
treeecbf936149961d0cbce4b180f5f1f8fdf2cfc15e /sdc-os-chef/sdc-os-common/Berksfile
parentdd60339b06d252fcb1382aa97ab3d65b37dad021 (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 'sdc-os-chef/sdc-os-common/Berksfile')
0 files changed, 0 insertions, 0 deletions