org.testng.internal.annotations
Class ExpectedExceptionsAnnotation

java.lang.Object
  extended by org.testng.internal.annotations.BaseAnnotation
      extended by org.testng.internal.annotations.ExpectedExceptionsAnnotation
All Implemented Interfaces:
IAnnotation, IExpectedExceptions

public class ExpectedExceptionsAnnotation
extends BaseAnnotation
implements IExpectedExceptions

An implementation of IExpectedExceptions Created on Dec 20, 2005

Author:
Cedric Beust

Constructor Summary
ExpectedExceptionsAnnotation()
           
 
Method Summary
 java.lang.Class[] getValue()
          The list of exceptions expected to be thrown by this method.
 void setValue(java.lang.Class[] value)
           
 
Methods inherited from class org.testng.internal.annotations.BaseAnnotation
getConstructor, getMethod, getTestClass, setConstructor, setMethod, setTestClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpectedExceptionsAnnotation

public ExpectedExceptionsAnnotation()
Method Detail

getValue

public java.lang.Class[] getValue()
Description copied from interface: IExpectedExceptions
The list of exceptions expected to be thrown by this method.

Specified by:
getValue in interface IExpectedExceptions

setValue

public void setValue(java.lang.Class[] value)


Copyright © 2010. All Rights Reserved.