Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.testng.annotations
Annotation Type ExpectedExceptions

Deprecated. Use @Test(expectedExceptions = "...")

    @Retention(value=RUNTIME)
    @Target(value=METHOD)
    public @interface ExpectedExceptions

List of exceptions that a test method is expected to throw.

Author:
  Cedric Beust, Apr 26, 2004

Required Element Summary
`java.lang.Class[]` | `value` Deprecated. The list of exceptions expected to be thrown by this method.

Element Detail

### value

    public abstract java.lang.Class[] value

  Deprecated.
  The list of exceptions expected to be thrown by this method.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT