Class 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 Detail

      • exceptionClass

        protected String exceptionClass
      • rollback

        protected Boolean rollback
      • inherited

        protected Boolean inherited
    • 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