@ControllerAdvice @Order(value=-100) public class PowerAuthExceptionHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
PRECEDENCE |
| Constructor and Description |
|---|
PowerAuthExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
io.getlime.core.rest.model.base.response.ErrorResponse |
handleActivationException(Exception ex)
Handle PowerAuthActivationException exceptions.
|
io.getlime.core.rest.model.base.response.ErrorResponse |
handlePowerAuthEncryptionException(Exception ex)
Handle PowerAuthEncryptionException exceptions.
|
io.getlime.core.rest.model.base.response.ErrorResponse |
handlePowerAuthUpgradeException(Exception ex)
Handle PowerAuthUpgradeException exceptions.
|
io.getlime.security.powerauth.rest.api.model.exception.RecoveryErrorResponse |
handleRecoveryException(Exception ex)
Handle PowerAuthRecoveryException exceptions.
|
io.getlime.core.rest.model.base.response.ErrorResponse |
handleSecureVaultException(Exception ex)
Handle PowerAuthSecureVaultException exceptions.
|
io.getlime.core.rest.model.base.response.ErrorResponse |
handleUnauthorizedException(Exception ex)
Handle PowerAuthAuthenticationException exceptions.
|
public static final int PRECEDENCE
@ExceptionHandler(value=io.getlime.security.powerauth.rest.api.base.exception.PowerAuthAuthenticationException.class) @ResponseStatus(value=UNAUTHORIZED) @ResponseBody public io.getlime.core.rest.model.base.response.ErrorResponse handleUnauthorizedException(Exception ex)
ex - Exception instance.@ExceptionHandler(value=io.getlime.security.powerauth.rest.api.base.exception.PowerAuthActivationException.class) @ResponseStatus(value=BAD_REQUEST) @ResponseBody public io.getlime.core.rest.model.base.response.ErrorResponse handleActivationException(Exception ex)
ex - Exception instance.@ExceptionHandler(value=io.getlime.security.powerauth.rest.api.base.exception.PowerAuthRecoveryException.class) @ResponseStatus(value=BAD_REQUEST) @ResponseBody public io.getlime.security.powerauth.rest.api.model.exception.RecoveryErrorResponse handleRecoveryException(Exception ex)
ex - Exception instance.@ExceptionHandler(value=io.getlime.security.powerauth.rest.api.base.exception.PowerAuthSecureVaultException.class) @ResponseStatus(value=BAD_REQUEST) @ResponseBody public io.getlime.core.rest.model.base.response.ErrorResponse handleSecureVaultException(Exception ex)
ex - Exception instance.@ExceptionHandler(value=io.getlime.security.powerauth.rest.api.base.exception.PowerAuthEncryptionException.class) @ResponseStatus(value=BAD_REQUEST) @ResponseBody public io.getlime.core.rest.model.base.response.ErrorResponse handlePowerAuthEncryptionException(Exception ex)
ex - Exception instance.@ExceptionHandler(value=io.getlime.security.powerauth.rest.api.base.exception.PowerAuthUpgradeException.class) @ResponseStatus(value=BAD_REQUEST) @ResponseBody public io.getlime.core.rest.model.base.response.ErrorResponse handlePowerAuthUpgradeException(Exception ex)
ex - Exception instance.Copyright © 2017–2019 Wultra s.r.o.. All rights reserved.