diff options
Diffstat (limited to 'netty')
-rw-r--r-- | netty/src/test/java/io/grpc/netty/AbstractHttp2HeadersTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netty/src/test/java/io/grpc/netty/AbstractHttp2HeadersTest.java b/netty/src/test/java/io/grpc/netty/AbstractHttp2HeadersTest.java index 1d9f36bb0..7eef87782 100644 --- a/netty/src/test/java/io/grpc/netty/AbstractHttp2HeadersTest.java +++ b/netty/src/test/java/io/grpc/netty/AbstractHttp2HeadersTest.java @@ -50,8 +50,8 @@ public class AbstractHttp2HeadersTest { } catch (InvocationTargetException ex) { assertEquals("For method: " + method, UnsupportedOperationException.class, ex.getCause().getClass()); - } catch (Throwable t) { - throw new RuntimeException("Failure with method: " + method, t); + } catch (Exception ex) { + throw new AssertionError("Failure with method: " + method, ex); } } } |