Package net.webpdf.wsclient.schema.stubs
Class OCRFaultInfo
- java.lang.Object
-
- net.webpdf.wsclient.schema.stubs.OCRFaultInfo
-
- All Implemented Interfaces:
FaultInfo
public class OCRFaultInfo extends Object implements FaultInfo
An instance of
OCRFaultInfowill 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>
-
-
Constructor Summary
Constructors Constructor Description OCRFaultInfo()
-
Method Summary
All Methods Instance Methods Concrete 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
public int getErrorCode()
Return the errorCode.- Specified by:
getErrorCodein interfaceFaultInfo
-
setErrorCode
public void setErrorCode(int value)
Set the errorCode.- Specified by:
setErrorCodein interfaceFaultInfo
-
getErrorMessage
@Nullable public @Nullable String getErrorMessage()
Return the errorMessage.- Specified by:
getErrorMessagein interfaceFaultInfo- Returns:
- possible object is
String
-
setErrorMessage
public void setErrorMessage(@Nullable @Nullable String value)Set the errorMessage.- Specified by:
setErrorMessagein interfaceFaultInfo- Parameters:
value- allowed object isString
-
getStackTrace
@Nullable public @Nullable String getStackTrace()
Return the stacktrace.- Specified by:
getStackTracein interfaceFaultInfo- Returns:
- possible object is
String
-
setStackTrace
public void setStackTrace(@Nullable @Nullable String value)Set the stacktrace.- Specified by:
setStackTracein interfaceFaultInfo- Parameters:
value- allowed object isString
-
-