Rename NotSupportedSliderCaptchaException to UnsupportedSliderCaptchaException

This commit is contained in:
Karlatemp 2020-12-24 01:14:27 +08:00
parent 2b12ae0ded
commit 1e53f56212
No known key found for this signature in database
GPG Key ID: 21FBDDF664FF06F8
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ public class UnsupportedSMSLoginException(message: String?) : LoginFailedExcepti
/** /**
* 无法完成滑块验证 * 无法完成滑块验证
*/ */
public class NotSupportedSliderCaptchaException(message: String?) : LoginFailedException(true, message) public class UnsupportedSliderCaptchaException(message: String?) : LoginFailedException(true, message)
/** /**
* mirai 实现的异常 * mirai 实现的异常

View File

@ -194,7 +194,7 @@ internal class QQAndroidBotNetworkHandler(coroutineContext: CoroutineContext, bo
if (step == 0) { if (step == 0) {
return closeEverythingAndRelogin(host, port, cause, 1) return closeEverythingAndRelogin(host, port, cause, 1)
} }
throw NotSupportedSliderCaptchaException( throw UnsupportedSliderCaptchaException(
buildString { buildString {
append("Mirai 无法完成滑块验证.") append("Mirai 无法完成滑块验证.")
if (allowSlider) { if (allowSlider) {