站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v5.0 API Specifications

ApplicationException (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications

Java EE 5 SDK

javax.ejb
Annotation Type ApplicationException


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface ApplicationException

Applied to an exception to denote that it is an application exception and should be reported to the client directly(i.e., unwrapped).


Optional Element Summary
 boolean rollback
          Indicates whether the container should cause the transaction to rollback when the exception is thrown.
 

rollback

public abstract boolean rollback
Indicates whether the container should cause the transaction to rollback when the exception is thrown.

Default:
false

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.