package p; class C { private static <E extends Exception> void foo(final String string) throws E { } }