org.apache.openejb.jee
Class ApplicationException

java.lang.Object
  extended by org.apache.openejb.jee.ApplicationException
All Implemented Interfaces:
Keyable<String>

public class ApplicationException
extends Object
implements Keyable<String>

ejb-jar_3_1.xsd

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>
 


Field Summary
protected  String exceptionClass
           
protected  String id
           
protected  Boolean inherited
           
protected  Boolean rollback
           
 
Constructor Summary
ApplicationException()
           
ApplicationException(Class exceptionClass, boolean rollback)
           
ApplicationException(String exceptionClass, boolean rollback)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exceptionClass

protected String exceptionClass

rollback

protected Boolean rollback

inherited

protected Boolean inherited

id

protected String id
Constructor Detail

ApplicationException

public ApplicationException()

ApplicationException

public ApplicationException(String exceptionClass,
                            boolean rollback)

ApplicationException

public ApplicationException(Class exceptionClass,
                            boolean rollback)
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)

getKey

public String getKey()
Description copied from interface: Keyable
Gets the immutable key for this object.

Specified by:
getKey in interface Keyable<String>
Returns:
gets the immutable key for this object


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.