Package net.webpdf.wsclient.schema.stubs
Class PdfaWebServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.webpdf.wsclient.schema.stubs.WebServiceException
-
- net.webpdf.wsclient.schema.stubs.PdfaWebServiceException
-
- All Implemented Interfaces:
Serializable
@WebFault(name="WebserviceException") public class PdfaWebServiceException extends WebServiceException
An instance of
PdfaWebServiceExceptionwill 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 PdfaWebServiceException(@Nullable String message, @NotNull PdfaFaultInfo faultInfo)Collects information concerning a webPDFPdfaWebServiceException, that has been encountered, while calling a webPDF webservice.PdfaWebServiceException(@Nullable String message, @NotNull PdfaFaultInfo faultInfo, @Nullable Throwable cause)Collects information concerning a webPDFPdfaWebServiceException, that has been encountered, while calling a webPDF webservice.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull PdfaFaultInfogetFaultInfo()Returns the fault info object of this exception, containing more detailed information about thePdfaWebServiceException, 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
-
PdfaWebServiceException
public PdfaWebServiceException(@Nullable @Nullable String message, @NotNull @NotNull PdfaFaultInfo faultInfo)Collects information concerning a webPDFPdfaWebServiceException, 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 webPDFPdfaWebServiceException, 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 thePdfaWebServiceException, that occurred on the server side.- Specified by:
getFaultInfoin classWebServiceException- Returns:
- returns fault bean: net.webpdf.wsclient.schema.stubs.PdfaFaultInfo
-
-