Class TelegramApiRequestException
Object
Throwable
Exception
TelegramApiException
TelegramApiRequestException
- All Implemented Interfaces:
Serializable
- Version:
- 1.0 Exception thrown when something goes wrong in the api
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTelegramApiRequestException(String message) TelegramApiRequestException(String message, Throwable cause) TelegramApiRequestException(String message, ApiResponse<?> response) -
Method Summary
Modifier and TypeMethodDescriptionMore detailed error description.toString()Just left as backward compatibility if anybody used this in version 5.2.0 or older.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
TelegramApiRequestException
-
TelegramApiRequestException
-
TelegramApiRequestException
-
-
Method Details
-
getMessage
More detailed error description.- Overrides:
getMessagein classThrowable- Returns:
- assembled response code and reason
-
toString
Just left as backward compatibility if anybody used this in version 5.2.0 or older.
-