MCPcopy Create free account
hub / github.com/spotbugs/spotbugs / staticThrowsException

Method staticThrowsException

spotbugsTestCases/src/java/RECTest.java:11–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9 public static Exception anException = new IOException();
10
11 public static void staticThrowsException() throws Exception {
12 throw new Exception();
13 }
14
15 public static void staticThrowsIOException() throws IOException {
16 throw new IOException();

Callers 1

testPass4Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected