Package com.pengrad.telegrambot
Class TelegramException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.pengrad.telegrambot.TelegramException
-
- All Implemented Interfaces:
java.io.Serializable
public class TelegramException extends java.lang.Exception
Stas Parshin 17 June 2019- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TelegramException(java.lang.Exception e)
TelegramException(java.lang.String message, BaseResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseResponse
response()
-
-
-
Constructor Detail
-
TelegramException
public TelegramException(java.lang.String message, BaseResponse response)
-
TelegramException
public TelegramException(java.lang.Exception e)
-
-
Method Detail
-
response
public BaseResponse response()
-
-