Package org.apache.openejb.jee
Class ApplicationException
- java.lang.Object
-
- org.apache.openejb.jee.ApplicationException
-
public class ApplicationException extends Object implements Keyable<String>
ejb-jar_3_1.xsdJava 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"/> <element name="inherited" 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>
-
-
Constructor Summary
Constructors Constructor Description ApplicationException()ApplicationException(Class exceptionClass, boolean rollback)ApplicationException(String exceptionClass, boolean rollback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExceptionClass()StringgetId()BooleangetInherited()StringgetKey()Gets the immutable key for this object.BooleangetRollback()booleanisInherited()booleanisRollback()voidsetExceptionClass(String value)voidsetId(String value)voidsetInherited(Boolean inherited)voidsetRollback(Boolean value)
-
-
-
Method Detail
-
getExceptionClass
public String getExceptionClass()
-
setExceptionClass
public void setExceptionClass(String value)
-
getRollback
public Boolean getRollback()
-
isRollback
public boolean isRollback()
-
setRollback
public void setRollback(Boolean value)
-
getInherited
public Boolean getInherited()
-
isInherited
public boolean isInherited()
-
setInherited
public void setInherited(Boolean inherited)
-
getId
public String getId()
-
setId
public void setId(String value)
-
-