com.github.mkopylec.recaptcha.validation.RecaptchaValidationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of recaptcha-spring-boot-starter Show documentation
Show all versions of recaptcha-spring-boot-starter Show documentation
Spring Boot starter for Google's reCAPTCHA
package com.github.mkopylec.recaptcha.validation;
import static java.lang.String.format;
public class RecaptchaValidationException extends RuntimeException {
public RecaptchaValidationException(String userResponse, String verificationUrl, Throwable cause) {
super(format("Error validating reCAPTCHA. User response: '%s', verification URL: '%s'", userResponse, verificationUrl), cause);
}
}