public class ApplicationException extends Object implements Keyable<String>
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"/>
<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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
exceptionClass |
protected String |
id |
protected Boolean |
inherited |
protected Boolean |
rollback |
| Constructor and Description |
|---|
ApplicationException() |
ApplicationException(Class exceptionClass,
boolean rollback) |
ApplicationException(String exceptionClass,
boolean rollback) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExceptionClass() |
String |
getId() |
Boolean |
getInherited() |
String |
getKey()
Gets the immutable key for this object.
|
Boolean |
getRollback() |
boolean |
isInherited() |
boolean |
isRollback() |
void |
setExceptionClass(String value) |
void |
setId(String value) |
void |
setInherited(Boolean inherited) |
void |
setRollback(Boolean value) |
protected String exceptionClass
protected Boolean rollback
protected Boolean inherited
protected String id
public ApplicationException()
public ApplicationException(String exceptionClass, boolean rollback)
public ApplicationException(Class exceptionClass, boolean rollback)
public String getExceptionClass()
public void setExceptionClass(String value)
public Boolean getRollback()
public boolean isRollback()
public void setRollback(Boolean value)
public Boolean getInherited()
public boolean isInherited()
public void setInherited(Boolean inherited)
public String getId()
public void setId(String value)
Copyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.