If the test resulted in the expected expected exception}, this methods returns this exception. Otherwise this method returns null.
the exception or null