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.Error
Recovery error.
Author:
Roman Strobl, roman.strobl@wultra.com
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.getlime.core.rest.model.base.entity.Error

    io.getlime.core.rest.model.base.entity.Error.Code, io.getlime.core.rest.model.base.entity.Error.Message
  • Constructor Summary

    Constructors
    Constructor Description
    RecoveryError()
    Default constructor.
    RecoveryError​(String code, String message)
    Constructor with error code and message.
    RecoveryError​(String code, String message, Integer currentRecoveryPukIndex)
    Constructor with error code, message and current recovery PUK index.
  • Method Summary

    Modifier and Type Method Description
    Integer getCurrentRecoveryPukIndex()
    Get current recovery PUK index.
    void setCurrentRecoveryPukIndex​(Integer currentRecoveryPukIndex)
    Set current recovery PUK index.

    Methods inherited from class io.getlime.core.rest.model.base.entity.Error

    getCode, getMessage, setCode, setMessage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RecoveryError

      public RecoveryError()
      Default constructor.
    • RecoveryError

      public RecoveryError​(String code, String message)
      Constructor with error code and message.
      Parameters:
      code - Error code.
      message - Error message.
    • RecoveryError

      public RecoveryError​(String code, String message, 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 Details

    • getCurrentRecoveryPukIndex

      public Integer getCurrentRecoveryPukIndex()
      Get current recovery PUK index.
      Returns:
      Current recovery PUK index.
    • setCurrentRecoveryPukIndex

      public void setCurrentRecoveryPukIndex​(Integer currentRecoveryPukIndex)
      Set current recovery PUK index.
      Parameters:
      currentRecoveryPukIndex - Current recovery PUK index.