elect
03/30/2017, 1:55 PMGLException extends java.lang.RuntimeException, so I changed Throwable with it, but if I type shouldThrow(GLException::javaClass, .., then I get:
Type parameter bound for T is not satisfied, inferred type is not a subset of RuntimeExceptionSame with
T : GLException