|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface ExpectedException
Test annotation to indicate that a test method is required to throw the specified exception.
Required Element Summary | |
---|---|
Class<? extends Throwable> |
value
|
Element Detail |
---|
public abstract Class<? extends Throwable> value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |