ApplicationException (Java EE 5 SDK)

Java

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.

默认值:
false

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.