diff options
Diffstat (limited to 'src/proguard/ant/ProGuardTask.java')
-rw-r--r-- | src/proguard/ant/ProGuardTask.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/proguard/ant/ProGuardTask.java b/src/proguard/ant/ProGuardTask.java index 7ab1cdf..f26f1b2 100644 --- a/src/proguard/ant/ProGuardTask.java +++ b/src/proguard/ant/ProGuardTask.java @@ -2,7 +2,7 @@ * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * - * Copyright (c) 2002-2013 Eric Lafortune (eric@graphics.cornell.edu) + * Copyright (c) 2002-2014 Eric Lafortune (eric@graphics.cornell.edu) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free @@ -51,18 +51,18 @@ public class ProGuardTask extends ConfigurationTask { parser.parse(configuration); } - catch (ParseException ex) + catch (ParseException e) { - throw new BuildException(ex.getMessage()); + throw new BuildException(e.getMessage(), e); } finally { parser.close(); } } - catch (IOException ex) + catch (IOException e) { - throw new BuildException(ex.getMessage()); + throw new BuildException(e.getMessage(), e); } } @@ -315,9 +315,9 @@ public class ProGuardTask extends ConfigurationTask ProGuard proGuard = new ProGuard(configuration); proGuard.execute(); } - catch (IOException ex) + catch (IOException e) { - throw new BuildException(ex.getMessage()); + throw new BuildException(e.getMessage(), e); } } |