
love.forte.simbot.bot.BotException.kt Maven / Gradle / Ivy
/*
*
* * Copyright (c) 2020. ForteScarlet All rights reserved.
* * Project simple-robot-S
* * File BotException.kt
* *
* * You can contact the author through the following channels:
* * github https://github.com/ForteScarlet
* * gitee https://gitee.com/ForteScarlet
* * email [email protected]
* * QQ 1149159218
* *
* *
*
*/
package love.forte.simbot.bot
/**
*
* 没有对应的bot异常。
*
* @author ForteScarlet -> https://github.com/ForteScarlet
*/
public open class NoSuchBotException : IllegalStateException {
constructor() : super()
constructor(s: String?) : super(s)
constructor(message: String?, cause: Throwable?) : super(message, cause)
constructor(cause: Throwable?) : super(cause)
}
/**
* bot 验证(登录)异常。
*/
public open class BotVerifyException : IllegalStateException {
constructor() : super()
constructor(s: String?) : super(s)
constructor(message: String?, cause: Throwable?) : super(message, cause)
constructor(cause: Throwable?) : super(cause)
}
/**
* Bot已经存在异常。
*/
public open class BotAlreadyRegisteredException : BotVerifyException {
constructor() : super()
constructor(s: String?) : super(s)
constructor(message: String?, cause: Throwable?) : super(message, cause)
constructor(cause: Throwable?) : super(cause)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy