Class ExceptionType


  • public class ExceptionType
    extends Object
    An Exception element describes one detected error that a server chooses to convey to the client.

    Java class for ExceptionType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="ExceptionType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="ExceptionText" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="exceptionCode" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="locator" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • exceptionText

        protected List<String> exceptionText
      • exceptionCode

        protected String exceptionCode
      • locator

        protected String locator
    • Constructor Detail

      • ExceptionType

        public ExceptionType()
        Default no-arg constructor
      • ExceptionType

        public ExceptionType​(List<String> exceptionText,
                             String exceptionCode,
                             String locator)
        Fully-initialising value constructor
    • Method Detail

      • getExceptionText

        public List<String> getExceptionText()
        Gets the value of the exceptionText property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the exceptionText property.

        For example, to add a new item, do as follows:

            getExceptionText().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • getExceptionCode

        public String getExceptionCode()
        Gets the value of the exceptionCode property.
        Returns:
        possible object is String
      • setExceptionCode

        public void setExceptionCode​(String value)
        Sets the value of the exceptionCode property.
        Parameters:
        value - allowed object is String
      • getLocator

        public String getLocator()
        Gets the value of the locator property.
        Returns:
        possible object is String
      • setLocator

        public void setLocator​(String value)
        Sets the value of the locator property.
        Parameters:
        value - allowed object is String