Logo Search packages:      
Sourcecode: jmock2 version File versions  Download package

org::jmock::lib::action::ThrowAction Class Reference

Inheritance diagram for org::jmock::lib::action::ThrowAction:

org::jmock::api::Action org::jmock::api::Invokable

List of all members.


Detailed Description

Throws an exception.

Author:
nat

Definition at line 15 of file ThrowAction.java.


Public Member Functions

void describeTo (Description description)
Object invoke (Invocation invocation) throws Throwable
 ThrowAction (Throwable throwable)

Private Member Functions

void checkTypeCompatiblity (Class<?>[] allowedExceptionTypes)
boolean isThrowingCheckedException ()
void reportIncompatibleCheckedException (Class<?>[] allowedTypes)

Private Attributes

Throwable throwable

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index