public static void InternalExceptionTest(bool throwException) { try { if (throwException) { throw new GenException<T>(); } if (throwException) { Test.Eval(false); } } catch(Exception E) { Test.Eval(E is GenException<T>); } }