Rename method CatchException::equalMessage to CatchException::hasMessage.