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