Class PowerAuthUpgradeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.getlime.security.powerauth.rest.api.spring.exception.PowerAuthUpgradeException
All Implemented Interfaces:
Serializable

public class PowerAuthUpgradeException
extends Exception
Exception raised in case PowerAuth upgrade fails.
Author:
Roman Strobl, roman.strobl@wultra.com
See Also:
Serialized Form
  • Constructor Details

    • PowerAuthUpgradeException

      public PowerAuthUpgradeException()
      Default constructor.
    • PowerAuthUpgradeException

      public PowerAuthUpgradeException​(String message)
      Constructor with a custom error message.
      Parameters:
      message - Error message.
    • PowerAuthUpgradeException

      public PowerAuthUpgradeException​(Throwable cause)
      Constructor with a cause.
      Parameters:
      cause - Error cause.
  • Method Details

    • getDefaultCode

      public String getDefaultCode()
      Get the default error code, used for example in REST response.
      Returns:
      Default error code.
    • getDefaultError

      public String getDefaultError()
      Get default error message, used for example in the REST response.
      Returns:
      Default error message.