Class 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​(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.Integer getCurrentRecoveryPukIndex()
      Get current recovery PUK index.
      void setCurrentRecoveryPukIndex​(java.lang.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 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.