Class SignatureFaultInfo

  • All Implemented Interfaces:
    FaultInfo

    public class SignatureFaultInfo
    extends Object
    implements FaultInfo

    An instance of SignatureFaultInfo 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>
     
    • Constructor Detail

      • SignatureFaultInfo

        public SignatureFaultInfo()
    • Method Detail

      • getErrorCode

        public int getErrorCode()
        Return the errorCode.
        Specified by:
        getErrorCode in interface FaultInfo
      • setErrorCode

        public void setErrorCode​(int value)
        Set the errorCode.
        Specified by:
        setErrorCode in interface FaultInfo
      • getErrorMessage

        @Nullable
        public @Nullable String getErrorMessage()
        Return the errorMessage.
        Specified by:
        getErrorMessage in interface FaultInfo
        Returns:
        possible object is String
      • setErrorMessage

        public void setErrorMessage​(@Nullable
                                    @Nullable String value)
        Set the errorMessage.
        Specified by:
        setErrorMessage in interface FaultInfo
        Parameters:
        value - allowed object is String
      • getStackTrace

        @Nullable
        public @Nullable String getStackTrace()
        Return the stacktrace.
        Specified by:
        getStackTrace in interface FaultInfo
        Returns:
        possible object is String
      • setStackTrace

        public void setStackTrace​(@Nullable
                                  @Nullable String value)
        Set the stacktrace.
        Specified by:
        setStackTrace in interface FaultInfo
        Parameters:
        value - allowed object is String