Package net.webpdf.wsclient.schema.stubs
Interface FaultInfo
-
- All Known Implementing Classes:
BarcodeFaultInfo,ConverterFaultInfo,OCRFaultInfo,PdfaFaultInfo,SignatureFaultInfo,ToolboxFaultInfo,URLConverterFaultInfo
public interface FaultInfoAn instance of
FaultInfowill be encountered in case the webPDF server“s response indicates the failure of a webservice call.
It shall describe the failure, by providing an error code, an error message and an optional exception describing the issue.Java-class for the FaultInfo complex type.
the following schema fragment contains the expected content, that may be contained in this class.
<complexType name="FaultInfo"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="errorCode" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="stackTrace" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetErrorCode()Return the errorCode.@Nullable StringgetErrorMessage()Return the errorMessage.@Nullable StringgetStackTrace()Return the stacktrace.voidsetErrorCode(int value)Set the errorCode.voidsetErrorMessage(@Nullable String value)Set the errorMessage.voidsetStackTrace(@Nullable String value)Set the stacktrace.
-
-
-
Method Detail
-
getErrorCode
int getErrorCode()
Return the errorCode.
-
setErrorCode
void setErrorCode(int value)
Set the errorCode.
-
getErrorMessage
@Nullable @Nullable String getErrorMessage()
Return the errorMessage.- Returns:
- possible object is
String
-
setErrorMessage
void setErrorMessage(@Nullable @Nullable String value)Set the errorMessage.- Parameters:
value- allowed object isString
-
getStackTrace
@Nullable @Nullable String getStackTrace()
Return the stacktrace.- Returns:
- possible object is
String
-
-