commit | 4b67d4fed1f4ca8e4b1dd7dce47061b6b3779860 | [log] [tgz] |
---|---|---|
author | Florian Weikert <fwe@google.com> | Mon Sep 14 13:35:34 2015 +0000 |
committer | Kristina Chodorow <kchodorow@google.com> | Mon Sep 14 15:40:49 2015 +0000 |
tree | eb79083b8d1335d71b27e69d6003d7e7ef12ad72 | |
parent | 835ec9e63b9788b7d573cb78fa27b8cbfb5732d9 [diff] [blame] |
Prevented catching/wrapping of InterruptedExceptions, especially in BaseFunction. -- MOS_MIGRATED_REVID=102988766
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/EvalExceptionWithStackTrace.java b/src/main/java/com/google/devtools/build/lib/syntax/EvalExceptionWithStackTrace.java index 7300e4b..9ec6860 100644 --- a/src/main/java/com/google/devtools/build/lib/syntax/EvalExceptionWithStackTrace.java +++ b/src/main/java/com/google/devtools/build/lib/syntax/EvalExceptionWithStackTrace.java
@@ -34,6 +34,13 @@ registerNode(culprit); } + @Override + public boolean canBeAddedToStackTrace() { + // Doesn't make any sense to add this exception to another instance of + // EvalExceptionWithStackTrace. + return false; + } + /** * Returns the appropriate location for this exception. *