summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-07-25 16:59:34 (EDT)
committer pelder2006-07-25 16:59:34 (EDT)
commitc387a2f90123fd11e0e6786ce1b23243140040d5 (patch)
tree8f777dc5257816b07feed9ef8e9efdf16f26042e
parentd64e6971e79fac361be43969c4f769fef09d17f5 (diff)
downloadorg.eclipse.jet-c387a2f90123fd11e0e6786ce1b23243140040d5.zip
org.eclipse.jet-c387a2f90123fd11e0e6786ce1b23243140040d5.tar.gz
org.eclipse.jet-c387a2f90123fd11e0e6786ce1b23243140040d5.tar.bz2
[149039] Distinguish JET2TagException from other RuntimeException instances when logging execution errors.
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/SafeCustomRuntimeTag.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/SafeCustomRuntimeTag.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/SafeCustomRuntimeTag.java
index 8c6ea32..ddd2d9d 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/SafeCustomRuntimeTag.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/runtime/SafeCustomRuntimeTag.java
@@ -46,7 +46,8 @@ public abstract class SafeCustomRuntimeTag implements RuntimeTagElement
public void handleException(Throwable exception)
{
- if (exception instanceof RuntimeException)
+
+ if (exception instanceof RuntimeException && !(exception instanceof JET2TagException))
{
// we make the assumption that runtime exceptions we're unintended results of
// tag execution, and that a clearer message should be issued.