Class PdfaWebServiceException

  • All Implemented Interfaces:
    Serializable

    @WebFault(name="WebserviceException")
    public class PdfaWebServiceException
    extends WebServiceException

    An instance of PdfaWebServiceException will be encountered in case the webPDF server“s response indicates the failure of a webservice call, it shall describe the failure, by providing a detailed FaultInfo describing the issue.

    See Also:
    Serialized Form
    • Constructor Detail

      • PdfaWebServiceException

        public PdfaWebServiceException​(@Nullable
                                       @Nullable String message,
                                       @NotNull
                                       @NotNull PdfaFaultInfo faultInfo)
        Collects information concerning a webPDF PdfaWebServiceException, that has been encountered, while calling a webPDF webservice.
        Parameters:
        faultInfo - The fault info containing further information concerning the error.
        message - The message, describing the occurred error.
      • PdfaWebServiceException

        public PdfaWebServiceException​(@Nullable
                                       @Nullable String message,
                                       @NotNull
                                       @NotNull PdfaFaultInfo faultInfo,
                                       @Nullable
                                       @Nullable Throwable cause)
        Collects information concerning a webPDF PdfaWebServiceException, that has been encountered, while calling a webPDF webservice.
        Parameters:
        faultInfo - The fault info containing further information concerning the error.
        cause - The cause of the error.
        message - The message, describing the occurred error.
    • Method Detail

      • getFaultInfo

        @NotNull
        public @NotNull PdfaFaultInfo getFaultInfo()
        Returns the fault info object of this exception, containing more detailed information about the PdfaWebServiceException, that occurred on the server side.
        Specified by:
        getFaultInfo in class WebServiceException
        Returns:
        returns fault bean: net.webpdf.wsclient.schema.stubs.PdfaFaultInfo