Package net.webpdf.wsclient.schema.stubs
Class WebServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.webpdf.wsclient.schema.stubs.WebServiceException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BarcodeWebServiceException,ConverterWebServiceException,OCRWebServiceException,PdfaWebServiceException,SignatureWebServiceException,ToolboxWebServiceException,URLConverterWebServiceException
public abstract class WebServiceException extends Exception
An instance of
WebServiceExceptionwill 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 WebServiceException(String message)WebServiceException(String message, Throwable cause)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract @NotNull FaultInfogetFaultInfo()Returns the fault info object of this exception, containing more detailed information about theWebServiceException, 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
-
-
-
-
Method Detail
-
getFaultInfo
@NotNull public abstract @NotNull FaultInfo getFaultInfo()
Returns the fault info object of this exception, containing more detailed information about theWebServiceException, that occurred on the server side.- Returns:
- returns fault bean: net.webpdf.wsclient.schema.stubs.toolbox.FaultInfo
-
-