|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThrowingRunnable
This interface facilitates the use of
Assert.assertThrows(Class, ThrowingRunnable)
from Java 8. It allows method
references to void methods (that declare checked exceptions) to be passed directly into
assertThrows
without wrapping. It is not meant to be implemented directly.
Method Summary | |
---|---|
void |
run()
|
Method Detail |
---|
void run() throws Throwable
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |