Class PowerAuthInvalidRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.getlime.security.powerauth.rest.api.spring.exception.PowerAuthAuthenticationException
io.getlime.security.powerauth.rest.api.spring.exception.authentication.PowerAuthInvalidRequestException
- All Implemented Interfaces:
Serializable
public class PowerAuthInvalidRequestException extends PowerAuthAuthenticationException
Exception raised in case PowerAuth authentication request is invalid.
- Author:
- Roman Strobl, roman.strobl@wultra.com
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PowerAuthInvalidRequestException()Default constructorPowerAuthInvalidRequestException(String message)Constructor with a custom error messagePowerAuthInvalidRequestException(Throwable cause)Constructor with a cause. -
Method Summary
Modifier and Type Method Description StringgetDefaultCode()Get the default error code, used for example in REST response.Methods inherited from class io.getlime.security.powerauth.rest.api.spring.exception.PowerAuthAuthenticationException
getDefaultErrorMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PowerAuthInvalidRequestException
public PowerAuthInvalidRequestException()Default constructor -
PowerAuthInvalidRequestException
Constructor with a custom error message- Parameters:
message- Error message
-
PowerAuthInvalidRequestException
Constructor with a cause.- Parameters:
cause- Error cause.
-
-
Method Details
-
getDefaultCode
Get the default error code, used for example in REST response.- Overrides:
getDefaultCodein classPowerAuthAuthenticationException- Returns:
- Default error code.
-