Allow Skyframe graph lookups and value retrievals to throw InterruptedException.

The only place we now don't handle InterruptedException is in the action graph created after analysis, since I'm not sure that will be around for that much longer.

--
MOS_MIGRATED_REVID=130327770
diff --git a/src/test/java/com/google/devtools/build/lib/skyframe/PrepareDepsOfPatternsFunctionTest.java b/src/test/java/com/google/devtools/build/lib/skyframe/PrepareDepsOfPatternsFunctionTest.java
index a21c6f5..869423e 100644
--- a/src/test/java/com/google/devtools/build/lib/skyframe/PrepareDepsOfPatternsFunctionTest.java
+++ b/src/test/java/com/google/devtools/build/lib/skyframe/PrepareDepsOfPatternsFunctionTest.java
@@ -30,13 +30,11 @@
 import com.google.devtools.build.skyframe.SkyKey;
 import com.google.devtools.build.skyframe.SkyValue;
 import com.google.devtools.build.skyframe.WalkableGraph;
-
+import java.io.IOException;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.junit.runners.JUnit4;
 
-import java.io.IOException;
-
 /** Tests for {@link com.google.devtools.build.lib.skyframe.PrepareDepsOfPatternsFunction}. */
 @RunWith(JUnit4.class)
 public class PrepareDepsOfPatternsFunctionTest extends BuildViewTestCase {
@@ -250,16 +248,18 @@
     scratch.file("bar/BUILD");
   }
 
-  private void assertValidValue(WalkableGraph graph, SkyKey key) {
+  private static void assertValidValue(WalkableGraph graph, SkyKey key)
+      throws InterruptedException {
     assertValidValue(graph, key, /*expectTransitiveException=*/ false);
   }
 
   /**
-   * A node in the walkable graph may have both a value and an exception. This happens when one
-   * of a node's transitive dependencies throws an exception, but its parent recovers from it.
+   * A node in the walkable graph may have both a value and an exception. This happens when one of a
+   * node's transitive dependencies throws an exception, but its parent recovers from it.
    */
-  private void assertValidValue(
-      WalkableGraph graph, SkyKey key, boolean expectTransitiveException) {
+  private static void assertValidValue(
+      WalkableGraph graph, SkyKey key, boolean expectTransitiveException)
+      throws InterruptedException {
     assertTrue(graph.exists(key));
     assertNotNull(graph.getValue(key));
     if (expectTransitiveException) {
@@ -269,7 +269,8 @@
     }
   }
 
-  private Exception assertException(WalkableGraph graph, SkyKey key) {
+  private static Exception assertException(WalkableGraph graph, SkyKey key)
+      throws InterruptedException {
     assertTrue(graph.exists(key));
     assertNull(graph.getValue(key));
     Exception exception = graph.getException(key);