Class PowerAuthClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.wultra.security.powerauth.client.model.error.PowerAuthClientException
- All Implemented Interfaces:
Serializable
PowerAuth client exception.
- Author:
- Roman Strobl, roman.strobl@wultra.com
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNo-arg constructor.PowerAuthClientException(String message) Constructor with message.PowerAuthClientException(String message, Throwable cause) Constructor with message and cause.PowerAuthClientException(String message, Throwable cause, PowerAuthError powerAuthError) Constructor for specific PowerAuth errors. -
Method Summary
Modifier and TypeMethodDescriptionGet the PowerAuth error object.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PowerAuthClientException
public PowerAuthClientException()No-arg constructor. -
PowerAuthClientException
Constructor with message.- Parameters:
message- Error message.
-
PowerAuthClientException
Constructor with message and cause.- Parameters:
message- Error message.cause- Exception which caused the error.
-
PowerAuthClientException
Constructor for specific PowerAuth errors.- Parameters:
message- Error message.cause- Exception which caused the error.powerAuthError- PowerAuth error with additional details.
-
-
Method Details
-
getPowerAuthError
Get the PowerAuth error object.- Returns:
- PowerAuth error object.
-