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.
    *