Class ExceptionReport


  • public class ExceptionReport
    extends Object

    Java class for anonymous complex type.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://www.opengis.net/ows}Exception" maxOccurs="unbounded"/>
           </sequence>
           <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="language" type="{http://www.w3.org/2001/XMLSchema}language" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • ExceptionReport

        public ExceptionReport()
        Default no-arg constructor
      • ExceptionReport

        public ExceptionReport​(List<Exception> exception,
                               String version,
                               String language)
        Fully-initialising value constructor
    • Method Detail

      • getException

        public List<Exception> getException()
        Unordered list of one or more Exception elements that each describes an error. These Exception elements shall be interpreted by clients as being independent of one another (not hierarchical). Gets the value of the exception 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 exception property.

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

            getException().add(newItem);
         

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

      • getVersion

        public String getVersion()
        Gets the value of the version property.
        Returns:
        possible object is String
      • setVersion

        public void setVersion​(String value)
        Sets the value of the version property.
        Parameters:
        value - allowed object is String
      • getLanguage

        public String getLanguage()
        Gets the value of the language property.
        Returns:
        possible object is String
      • setLanguage

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