aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse/agent/PatchValEclipsePortal.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse/agent/PatchValEclipsePortal.java')
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/PatchValEclipsePortal.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchValEclipsePortal.java b/src/eclipseAgent/lombok/eclipse/agent/PatchValEclipsePortal.java
index abace3df..dacd81b4 100644
--- a/src/eclipseAgent/lombok/eclipse/agent/PatchValEclipsePortal.java
+++ b/src/eclipseAgent/lombok/eclipse/agent/PatchValEclipsePortal.java
@@ -118,10 +118,10 @@ public class PatchValEclipsePortal {
Object.class,
Class.forName(SINGLEVARIABLEDECLARATION_SIG),
Class.forName(LOCALDECLARATION_SIG));
- } catch (Exception e) {
+ } catch (Throwable t) {
// That's problematic, but as long as no local classes are used we don't actually need it.
// Better fail on local classes than crash altogether.
- problem_ = e;
+ problem_ = t;
}
copyInitializationOfForEachIterable = m;
copyInitializationOfLocalDeclaration = n;