当前页面:
在线文档首页 >
Spring Framework 2.1.0 API 文档英文版
ExpectedException (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版
org.springframework.test.annotation
Annotation Type ExpectedException
@Target(value=METHOD)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface ExpectedException
Test annotation to indicate that a test method is required
to throw one or more of these exceptions.
- Since:
- 2.0
- Author:
- Rod Johnson
value
public abstract Class<? extends Throwable> value
Copyright © 2002-2007 The Spring Framework.