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.StringgetDescription()intgetErrorCode()java.lang.StringgetMessage()ResponseParametersgetParameters()java.lang.StringtoString()
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessagein classjava.lang.Throwable
-
getErrorCode
public int getErrorCode()
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin classTelegramException
-
getParameters
public ResponseParameters getParameters()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classTelegramException
-
-