Interface FaultInfo

  • All Known Implementing Classes:
    BarcodeFaultInfo, ConverterFaultInfo, OCRFaultInfo, PdfaFaultInfo, SignatureFaultInfo, ToolboxFaultInfo, URLConverterFaultInfo

    public interface FaultInfo

    An instance of FaultInfo will be encountered in case the webPDF server“s response indicates the failure of a webservice call.
    It shall describe the failure, by providing an error code, an error message and an optional exception describing the issue.

    Java-class for the FaultInfo complex type.

    the following schema fragment contains the expected content, that may be contained in this class.

     <complexType name="FaultInfo">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="errorCode" type="{http://www.w3.org/2001/XMLSchema}int"/>
             <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="stackTrace" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Method Detail

      • getErrorCode

        int getErrorCode()
        Return the errorCode.
      • setErrorCode

        void setErrorCode​(int value)
        Set the errorCode.
      • getErrorMessage

        @Nullable
        @Nullable String getErrorMessage()
        Return the errorMessage.
        Returns:
        possible object is String
      • setErrorMessage

        void setErrorMessage​(@Nullable
                             @Nullable String value)
        Set the errorMessage.
        Parameters:
        value - allowed object is String
      • getStackTrace

        @Nullable
        @Nullable String getStackTrace()
        Return the stacktrace.
        Returns:
        possible object is String
      • setStackTrace

        void setStackTrace​(@Nullable
                           @Nullable String value)
        Set the stacktrace.
        Parameters:
        value - allowed object is String