Class OTRSError

  • All Implemented Interfaces:
    Serializable

    public class OTRSError
    extends Object
    implements Serializable

    Java class for OTRS_Error complex type.

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

     <complexType name="OTRS_Error">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="ErrorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • errorCode

        protected String errorCode
      • errorMessage

        protected String errorMessage
    • Constructor Detail

      • OTRSError

        public OTRSError()
    • Method Detail

      • getErrorCode

        public String getErrorCode()
        Gets the value of the errorCode property.
        Returns:
        possible object is String
      • setErrorCode

        public void setErrorCode​(String value)
        Sets the value of the errorCode property.
        Parameters:
        value - allowed object is String
      • getErrorMessage

        public String getErrorMessage()
        Gets the value of the errorMessage property.
        Returns:
        possible object is String
      • setErrorMessage

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