aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/concretizeNpe/model
diff options
context:
space:
mode:
authoracolyer <acolyer>2003-09-19 08:16:17 +0000
committeracolyer <acolyer>2003-09-19 08:16:17 +0000
commit53570863fa77364052937376a0ff65ce2fa37842 (patch)
tree80bf1404427ee613b4c4a9ffb3c2ffcdfdc4e17c /tests/bugs/concretizeNpe/model
parentfc0d2af02cc6b6f8a4d9425e3c1cdd166957dde9 (diff)
downloadaspectj-53570863fa77364052937376a0ff65ce2fa37842.tar.gz
aspectj-53570863fa77364052937376a0ff65ce2fa37842.zip
bug 43033 - NPE in concretize error path for ReferencePointcut
Diffstat (limited to 'tests/bugs/concretizeNpe/model')
-rw-r--r--tests/bugs/concretizeNpe/model/ModelExceptionHandling.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs/concretizeNpe/model/ModelExceptionHandling.java b/tests/bugs/concretizeNpe/model/ModelExceptionHandling.java
new file mode 100644
index 000000000..0778aec22
--- /dev/null
+++ b/tests/bugs/concretizeNpe/model/ModelExceptionHandling.java
@@ -0,0 +1,13 @@
+
+package model;
+
+import java.lang.RuntimeException;
+
+import base.ExceptionHandling;
+
+public aspect ModelExceptionHandling extends ExceptionHandling {
+ public pointcut scope() : within(*);
+
+ protected RuntimeException convertCheckedException(Throwable t) {
+ return new RuntimeException(t.getMessage(),t
+}