aboutsummaryrefslogtreecommitdiff
path: root/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2011-05-16 22:32:27 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2011-05-16 22:32:27 +0200
commit75e81604f390b7d9d14b50a86d9f991de30eb1b3 (patch)
tree1653754f99d0c7cd2d2ddb9632b128b1fc803850 /src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
parent8b2ee73cc46a8629d61abd0dde70ecb0748e2b0e (diff)
downloadlombok-75e81604f390b7d9d14b50a86d9f991de30eb1b3.tar.gz
lombok-75e81604f390b7d9d14b50a86d9f991de30eb1b3.tar.bz2
lombok-75e81604f390b7d9d14b50a86d9f991de30eb1b3.zip
Split up PatchVal into the ecj and eclipse bits; in ecj you'd just get NoSuchClassErrors.
Diffstat (limited to 'src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java')
-rw-r--r--src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java b/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
index b624caff..4c2b088d 100644
--- a/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
+++ b/src/eclipseAgent/lombok/eclipse/agent/PatchFixes.java
@@ -35,7 +35,6 @@ import lombok.core.PostCompiler;
import org.eclipse.jdt.core.IAnnotatable;
import org.eclipse.jdt.core.IAnnotation;
import org.eclipse.jdt.core.IMethod;
-import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.core.dom.SimpleName;
import org.eclipse.jdt.internal.compiler.ast.Annotation;
@@ -144,7 +143,7 @@ public class PatchFixes {
try {
in = annotatable.getAnnotations();
- } catch (JavaModelException e) {
+ } catch (Exception e) {
return out;
}