|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pkg.collections.valueclass.javaee.ApplicationExceptionType
public class 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>
| Field Summary | |
|---|---|
protected FullyQualifiedClassType |
exceptionClass
|
protected String |
id
|
protected TrueFalseType |
rollback
|
| Constructor Summary | |
|---|---|
ApplicationExceptionType()
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.javaee.ApplicationExceptionType instance. |
|
ApplicationExceptionType(ApplicationExceptionType o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.javaee.ApplicationExceptionType instance by copying a given instance. |
|
| Method Summary | |
|---|---|
ApplicationExceptionType |
clone()
Creates and returns a copy of this object. |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected FullyQualifiedClassType exceptionClass
protected TrueFalseType rollback
protected String id
| Constructor Detail |
|---|
public ApplicationExceptionType()
net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.javaee.ApplicationExceptionType instance.
public ApplicationExceptionType(ApplicationExceptionType o)
net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.javaee.ApplicationExceptionType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public FullyQualifiedClassType getExceptionClass()
FullyQualifiedClassTypepublic void setExceptionClass(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypepublic TrueFalseType getRollback()
TrueFalseTypepublic void setRollback(TrueFalseType value)
value - allowed object is
TrueFalseTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic ApplicationExceptionType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||