1 package org.testng.annotations; 2 3 /** 4 * Encapsulate the @ExpectedExceptions / @testng.expected-exceptions annotation 5 * Created on Dec 20, 2005 6 * @author <a href="mailto:cedric@beust.com">Cedric Beust</a> 7 */ 8 public interface IExpectedExceptionsAnnotation extends IAnnotation { 9 /** 10 * The list of exceptions expected to be thrown by this method. 11 */ getValue()12 public Class[] getValue(); 13 14 } 15