Class DigifiedError
java.lang.Object
io.digified.digified_library.errors.DigifiedError
-
Constructor Summary
ConstructorsConstructorDescriptionDigifiedError(String errorCode) Constructor for Digified Error, in this implementation of the constructor, the error is not a termination errorshouldTerminate= falseDigifiedError(String errorCode, boolean shouldTerminate) Constructor for Digified Error -
Method Summary
Modifier and TypeMethodDescriptionGetter method forerrorCodebooleanGetter method forshouldTerminateif session is terminatedBiometricDigified.getNextAction()will be reset toDigifiedConstants.Action.INITIALIZE
-
Constructor Details
-
DigifiedError
Constructor for Digified Error- Parameters:
errorCode- error code fromErrorConstantsshouldTerminate- whether you should terminate the session or not, if session is terminatedBiometricDigified.getNextAction()will be reset toDigifiedConstants.Action.INITIALIZE
-
DigifiedError
Constructor for Digified Error, in this implementation of the constructor, the error is not a termination errorshouldTerminate= false- Parameters:
errorCode- error code fromErrorConstants
-
-
Method Details
-
getErrorCode
Getter method forerrorCode- Returns:
- the error code of this DigifiedError
-
isTerminationError
public boolean isTerminationError()Getter method forshouldTerminateif session is terminatedBiometricDigified.getNextAction()will be reset toDigifiedConstants.Action.INITIALIZE- Returns:
- whether or not should we terminate the session
-