Class PowerAuthClientException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.wultra.security.powerauth.client.model.error.PowerAuthClientException
All Implemented Interfaces:
Serializable

public class PowerAuthClientException extends Exception
PowerAuth client exception.
Author:
Roman Strobl, roman.strobl@wultra.com
See Also:
  • Constructor Details

    • PowerAuthClientException

      public PowerAuthClientException()
      No-arg constructor.
    • PowerAuthClientException

      public PowerAuthClientException(String message)
      Constructor with message.
      Parameters:
      message - Error message.
    • PowerAuthClientException

      public PowerAuthClientException(String message, Throwable cause)
      Constructor with message and cause.
      Parameters:
      message - Error message.
      cause - Exception which caused the error.
    • PowerAuthClientException

      public PowerAuthClientException(String message, Throwable cause, PowerAuthError powerAuthError)
      Constructor for specific PowerAuth errors.
      Parameters:
      message - Error message.
      cause - Exception which caused the error.
      powerAuthError - PowerAuth error with additional details.
  • Method Details

    • getPowerAuthError

      public Optional<PowerAuthError> getPowerAuthError()
      Get the PowerAuth error object.
      Returns:
      PowerAuth error object.