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

    Modifier and Type Method Description
    BaseResponse response()  

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait