Class RecoveryError
- java.lang.Object
-
- io.getlime.core.rest.model.base.entity.Error
-
- io.getlime.security.powerauth.rest.api.model.exception.RecoveryError
-
public class RecoveryError extends io.getlime.core.rest.model.base.entity.ErrorRecovery error.- Author:
- Roman Strobl, roman.strobl@wultra.com
-
-
Constructor Summary
Constructors Constructor Description RecoveryError()Default constructor.RecoveryError(java.lang.String code, java.lang.String message)Constructor with error code and message.RecoveryError(java.lang.String code, java.lang.String message, java.lang.Integer currentRecoveryPukIndex)Constructor with error code, message and current recovery PUK index.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetCurrentRecoveryPukIndex()Get current recovery PUK index.voidsetCurrentRecoveryPukIndex(java.lang.Integer currentRecoveryPukIndex)Set current recovery PUK index.
-
-
-
Constructor Detail
-
RecoveryError
public RecoveryError()
Default constructor.
-
RecoveryError
public RecoveryError(java.lang.String code, java.lang.String message)Constructor with error code and message.- Parameters:
code- Error code.message- Error message.
-
RecoveryError
public RecoveryError(java.lang.String code, java.lang.String message, java.lang.Integer currentRecoveryPukIndex)Constructor with error code, message and current recovery PUK index.- Parameters:
code- Error code.message- Error message.currentRecoveryPukIndex- Current recovery PUK index.
-
-
Method Detail
-
getCurrentRecoveryPukIndex
public java.lang.Integer getCurrentRecoveryPukIndex()
Get current recovery PUK index.- Returns:
- Current recovery PUK index.
-
setCurrentRecoveryPukIndex
public void setCurrentRecoveryPukIndex(java.lang.Integer currentRecoveryPukIndex)
Set current recovery PUK index.- Parameters:
currentRecoveryPukIndex- Current recovery PUK index.
-
-