A MockException is used internally by the mock framework to signal failed expectations to the test framework.
MockException