Package top.focess.qq.api.exceptions
Class BotLoginException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- top.focess.qq.api.exceptions.BotLoginException
-
- All Implemented Interfaces:
Serializable
public class BotLoginException extends RuntimeException
Thrown to indicate a bot login failed- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BotLoginException(long id)Constructs a BotLoginExceptionBotLoginException(long id, Exception e)Constructs a BotLoginExceptionBotLoginException(long id, String message)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BotLoginException
public BotLoginException(long id)
Constructs a BotLoginException- Parameters:
id- the id of the login failed bot
-
BotLoginException
public BotLoginException(long id, Exception e)Constructs a BotLoginException- Parameters:
id- the id of the login failed bote- the cause of the exception
-
BotLoginException
public BotLoginException(long id, String message)
-
-