35 lines
975 B
Java
35 lines
975 B
Java
/**
|
|
* Invalid Verification Code Exception
|
|
*
|
|
* Thrown when an invalid verification code is provided during device verification.
|
|
*
|
|
* @author David Valera Melendez <david@valera-melendez.de>
|
|
* @since February 2025
|
|
*/
|
|
package com.company.auth.exception;
|
|
|
|
/**
|
|
* Exception thrown when an invalid verification code is encountered
|
|
*/
|
|
public class InvalidVerificationCodeException extends RuntimeException {
|
|
|
|
/**
|
|
* Constructs a new InvalidVerificationCodeException with the specified detail message.
|
|
*
|
|
* @param message the detail message
|
|
*/
|
|
public InvalidVerificationCodeException(String message) {
|
|
super(message);
|
|
}
|
|
|
|
/**
|
|
* Constructs a new InvalidVerificationCodeException with the specified detail message and cause.
|
|
*
|
|
* @param message the detail message
|
|
* @param cause the cause
|
|
*/
|
|
public InvalidVerificationCodeException(String message, Throwable cause) {
|
|
super(message, cause);
|
|
}
|
|
}
|