private static void CheckNull(Exception e) { if (e == null) { throw new VerifyException("NULL exception passed to IsExceptionOk()"); } }