Class OtpFailedCheckException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
es.kukenan.smartfi.common.service.exceptions.KukenanWalletException
es.kukenan.smartfi.common.service.exceptions.ForbiddenException
es.kukenan.smartfi.microservice.security.gateway.exception.OtpFailedCheckException
- All Implemented Interfaces:
Serializable
public class OtpFailedCheckException
extends es.kukenan.smartfi.common.service.exceptions.ForbiddenException
Exception when Otp value is not correct then returns forbidden.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOtpFailedCheckException(String code, String message, Throwable cause, Map additionalInfo, Set<es.kukenan.smartfi.common.api.dtos.error.ErrorDetailDto> details) Custom code exception for otp failed.OtpFailedCheckException(String message, Throwable cause, Map additionalInfo, Set<es.kukenan.smartfi.common.api.dtos.error.ErrorDetailDto> details) Custom code exception for otp failed with custom code by default. -
Method Summary
Methods inherited from class es.kukenan.smartfi.common.service.exceptions.KukenanWalletException
canEqual, equals, getAdditionalInfo, getCode, getDetails, getHttpStatus, hashCode, setAdditionalInfo, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
OtpFailedCheckException
public OtpFailedCheckException(String message, Throwable cause, Map additionalInfo, Set<es.kukenan.smartfi.common.api.dtos.error.ErrorDetailDto> details) Custom code exception for otp failed with custom code by default.- Parameters:
message- custom message for otp failed check.cause- custom cause of otp failed exception.additionalInfo- custom addiotional info of otp failed exception.details- custom details of otp failed exception.
-
OtpFailedCheckException
public OtpFailedCheckException(String code, String message, Throwable cause, Map additionalInfo, Set<es.kukenan.smartfi.common.api.dtos.error.ErrorDetailDto> details) Custom code exception for otp failed.- Parameters:
code- custom exception code.message- custom message for otp failed check.cause- custom cause of otp failed exception.additionalInfo- custom addiotional info of otp failed exception.details- custom details of otp failed exception.
-