|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
javax.ejb Annotation Type ApplicationException
Implements:
Annotation
@Target(value=TYPE)@Retention(value=RUNTIME)
应用于异常来表示它是应用程序异常,应直接报告给客户端(即解包)。
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. |
abstract public boolean
rollback()
指示抛出该异常时容器是否应使事务回滚。
英文文档:
rollback
public abstract boolean rollback
- Indicates whether the container should cause the transaction to
rollback when the exception is thrown.
- Default:
- false
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!