From efc45c07ea027a80e2429a34809c2ee8fa89f0dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Clermont=C3=A9?= Date: Thu, 30 Jun 2016 23:09:25 +0200 Subject: [PATCH] Issue#35 Renamed exception --- src/org/dclermonte/siba/model/SibaManager.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/org/dclermonte/siba/model/SibaManager.java b/src/org/dclermonte/siba/model/SibaManager.java index 0156828..efad62e 100644 --- a/src/org/dclermonte/siba/model/SibaManager.java +++ b/src/org/dclermonte/siba/model/SibaManager.java @@ -104,13 +104,13 @@ public class SibaManager SibaUtils.createMD5File(result, target + "/" + outputFileNameWithoutExtension + ".tgz.md5"); } } - catch (IOException ioExceptionBackup) + catch (IOException exception) { - throw new SibaException(BUNDLE.getString("ioExceptionBackup.text"), ioExceptionBackup); //$NON-NLS-1$ + throw new SibaException(BUNDLE.getString("ioExceptionBackup.text"), exception); //$NON-NLS-1$ } - catch (NoSuchAlgorithmException noSuchAlgorithmException) + catch (NoSuchAlgorithmException exception) { - throw new SibaException(BUNDLE.getString("noSuchAlgorithm.text"), noSuchAlgorithmException); //$NON-NLS-1$ + throw new SibaException(BUNDLE.getString("noSuchAlgorithm.text"), exception); //$NON-NLS-1$ } finally { @@ -145,13 +145,13 @@ public class SibaManager result = false; } } - catch (IOException ioExceptionCheck) + catch (IOException exception) { - throw new SibaException(BUNDLE.getString("ioExceptionCheck.text"), ioExceptionCheck); //$NON-NLS-1$ + throw new SibaException(BUNDLE.getString("ioExceptionCheck.text"), exception); //$NON-NLS-1$ } - catch (NoSuchAlgorithmException noSuchAlgorithmException) + catch (NoSuchAlgorithmException exception) { - throw new SibaException(BUNDLE.getString("noSuchAlgorithm.text"), noSuchAlgorithmException); //$NON-NLS-1$ + throw new SibaException(BUNDLE.getString("noSuchAlgorithm.text"), exception); //$NON-NLS-1$ } //