Package com.jtelegram.api.ex
Class TelegramApiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.jtelegram.api.ex.TelegramException
-
- com.jtelegram.api.ex.TelegramApiException
-
- All Implemented Interfaces:
java.io.Serializable
public class TelegramApiException extends TelegramException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TelegramApiException()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
int
getErrorCode()
java.lang.String
getMessage()
ResponseParameters
getParameters()
java.lang.String
toString()
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
getErrorCode
public int getErrorCode()
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in classTelegramException
-
getParameters
public ResponseParameters getParameters()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classTelegramException
-
-