Lines Matching refs:exception
31 parameters) is called, then an exception will be raised.
36 ensures that every expected method was called; otherwise, an exception
70 """Base exception for this module."""
80 """Init exception.
110 """Init exception.
134 """Init exception.
339 # If the list of expected calls is not empty, raise an exception
514 and returning a value, or throwing an exception (as specified). When this
728 def AndRaise(self, exception):
729 """Set the exception to raise when this method is called.
732 # exception: the exception to raise when this method is called.
733 exception: Exception
736 self._exception = exception
897 except Exception:
998 except Exception: