Class ToolboxWebServiceException

  • All Implemented Interfaces:
    Serializable

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

    An instance of ToolboxWebServiceException 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

      • ToolboxWebServiceException

        public ToolboxWebServiceException​(@Nullable
                                          @Nullable String message,
                                          @NotNull
                                          @NotNull ToolboxFaultInfo faultInfo)
        Collects information concerning a webPDF ToolboxWebServiceException, 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.
      • ToolboxWebServiceException

        public ToolboxWebServiceException​(@Nullable
                                          @Nullable String message,
                                          @NotNull
                                          @NotNull ToolboxFaultInfo faultInfo,
                                          @Nullable
                                          @Nullable Throwable cause)
        Collects information concerning a webPDF ToolboxWebServiceException, 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 ToolboxFaultInfo getFaultInfo()
        Returns the fault info object of this exception, containing more detailed information about the ToolboxWebServiceException, that occurred on the server side.
        Specified by:
        getFaultInfo in class WebServiceException
        Returns:
        returns fault bean: net.webpdf.wsclient.schema.stubs.ToolboxFaultInfo