When the method which matches this expectation is called, throw the given exception. If there are any actions specified (via the action method), they will not be executed.
The exception to throw.
$(D_KEYWORD this).
See Implementation
When the method which matches this expectation is called, throw the given exception. If there are any actions specified (via the action method), they will not be executed.