Class OrchestrationWarning
- java.lang.Object
-
- com.vasco.orchestration.client.errors.OrchestrationWarning
-
public class OrchestrationWarning extends java.lang.Object
TheOrchestrationWarning
class is the base class used for asynchronous warning management in the Orchestration SDK.
-
-
Constructor Summary
Constructors Constructor Description OrchestrationWarning(int warningCode, java.lang.Throwable exception)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getException()
return the exception attached to the warningint
getInitialErrorCode()
if the cause is not null and a InternalException we return the initial error code 0 otherwise.int
getWarningCode()
return warning code attached to the warningvoid
setException(java.lang.Throwable exception)
set the exceptionvoid
setWarningCode(int warningCode)
set the warning code
-
-
-
Method Detail
-
getWarningCode
public int getWarningCode()
return warning code attached to the warning- Returns:
- warning code
-
setWarningCode
public void setWarningCode(int warningCode)
set the warning code- Parameters:
warningCode
- warning code
-
getException
public java.lang.Throwable getException()
return the exception attached to the warning- Returns:
- exception
-
setException
public void setException(java.lang.Throwable exception)
set the exception- Parameters:
exception
- exception
-
getInitialErrorCode
public int getInitialErrorCode()
if the cause is not null and a InternalException we return the initial error code 0 otherwise.- Returns:
- the initial error code
-
-