Package net.webpdf.wsclient.schema.stubs
Class ToolboxWebServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.webpdf.wsclient.schema.stubs.WebServiceException
-
- net.webpdf.wsclient.schema.stubs.ToolboxWebServiceException
-
- All Implemented Interfaces:
Serializable
@WebFault(name="WebserviceException") public class ToolboxWebServiceException extends WebServiceException
An instance of
ToolboxWebServiceExceptionwill be encountered in case the webPDF server“s response indicates the failure of a webservice call, it shall describe the failure, by providing a detailedFaultInfodescribing the issue.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ToolboxWebServiceException(@Nullable String message, @NotNull ToolboxFaultInfo faultInfo)Collects information concerning a webPDFToolboxWebServiceException, that has been encountered, while calling a webPDF webservice.ToolboxWebServiceException(@Nullable String message, @NotNull ToolboxFaultInfo faultInfo, @Nullable Throwable cause)Collects information concerning a webPDFToolboxWebServiceException, that has been encountered, while calling a webPDF webservice.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ToolboxFaultInfogetFaultInfo()Returns the fault info object of this exception, containing more detailed information about theToolboxWebServiceException, that occurred on the server side.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ToolboxWebServiceException
public ToolboxWebServiceException(@Nullable @Nullable String message, @NotNull @NotNull ToolboxFaultInfo faultInfo)Collects information concerning a webPDFToolboxWebServiceException, 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 webPDFToolboxWebServiceException, 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 theToolboxWebServiceException, that occurred on the server side.- Specified by:
getFaultInfoin classWebServiceException- Returns:
- returns fault bean: net.webpdf.wsclient.schema.stubs.ToolboxFaultInfo
-
-