- 引入MatchParam封装滑动轨迹及相关信息,提升扩展性。- 调整验证码生成与校验接口,以支持更精细的参数控制。 - 优化资源管理,提高验证码资源的加载效率。 - 更新文档与示例代码,以反映API的最新变化。BREAKING CHANGE: 验证码校验接口发生改变,现在需要传入MatchParam对象而非直接传入轨迹对象。这可能会影响直接调用验证码校验服务的客户端代码,需根据最新API文档进行适配。
28 lines
718 B
Java
28 lines
718 B
Java
package cloud.tianai.captcha.common.exception;
|
|
|
|
/**
|
|
* @Author: 天爱有情
|
|
* @date 2022/5/7 9:04
|
|
* @Description 图片验证码异常
|
|
*/
|
|
public class ImageCaptchaException extends RuntimeException{
|
|
public ImageCaptchaException() {
|
|
}
|
|
|
|
public ImageCaptchaException(String message) {
|
|
super(message);
|
|
}
|
|
|
|
public ImageCaptchaException(String message, Throwable cause) {
|
|
super(message, cause);
|
|
}
|
|
|
|
public ImageCaptchaException(Throwable cause) {
|
|
super(cause);
|
|
}
|
|
|
|
public ImageCaptchaException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
|
|
super(message, cause, enableSuppression, writableStackTrace);
|
|
}
|
|
}
|