|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationExceptionType
The application-exceptionType declares an application exception. The declaration consists of: - the exception class. When the container receives an exception of this type, it is required to forward this exception as an applcation exception to the client regardless of whether it is a checked or unchecked exception. - an optional rollback element. If this element is set to true, the container must rollback the current transaction before forwarding the exception to the client. If not specified, it defaults to false.
Java class for application-exceptionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="application-exceptionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="exception-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
<element name="rollback" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Method Summary | |
|---|---|
FullyQualifiedClassType |
getExceptionClass()
Gets the value of the exceptionClass property. |
String |
getId()
Gets the value of the id property. |
TrueFalseType |
getRollback()
Gets the value of the rollback property. |
void |
setExceptionClass(FullyQualifiedClassType value)
Sets the value of the exceptionClass property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setRollback(TrueFalseType value)
Sets the value of the rollback property. |
| Method Detail |
|---|
FullyQualifiedClassType getExceptionClass()
FullyQualifiedClassTypevoid setExceptionClass(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypeTrueFalseType getRollback()
TrueFalseTypevoid setRollback(TrueFalseType value)
value - allowed object is
TrueFalseTypeString getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||