Class TelegramApiValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.telegram.telegrambots.meta.exceptions.TelegramApiException
-
- org.telegram.telegrambots.meta.exceptions.TelegramApiValidationException
-
- All Implemented Interfaces:
Serializable
public class TelegramApiValidationException extends TelegramApiException
- Version:
- 1.0
- Author:
- Ruben Bermudez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TelegramApiValidationException(String message, InputBotApiObject object)
TelegramApiValidationException(String message, PartialBotApiMethod method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartialBotApiMethod
getMethod()
InputBotApiObject
getObject()
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
TelegramApiValidationException
public TelegramApiValidationException(String message, PartialBotApiMethod method)
-
TelegramApiValidationException
public TelegramApiValidationException(String message, InputBotApiObject object)
-
-
Method Detail
-
getMethod
public PartialBotApiMethod getMethod()
-
getObject
public InputBotApiObject getObject()
-
-