public class TelegramException
extends org.apache.camel.RuntimeCamelException
implements org.apache.camel.spi.HttpResponseAware
| Constructor and Description |
|---|
TelegramException(String message,
int httpResponseCode,
String httpResponseStatus) |
TelegramException(String message,
Throwable cause) |
TelegramException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHttpResponseCode() |
String |
getHttpResponseStatus() |
void |
setHttpResponseCode(int httpResponseCode) |
void |
setHttpResponseStatus(String httpResponseStatus) |
wrapRuntimeCamelException, wrapRuntimeExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TelegramException(String message, int httpResponseCode, String httpResponseStatus)
public TelegramException(Throwable cause)
public int getHttpResponseCode()
getHttpResponseCode in interface org.apache.camel.spi.HttpResponseAwarepublic void setHttpResponseCode(int httpResponseCode)
setHttpResponseCode in interface org.apache.camel.spi.HttpResponseAwarepublic String getHttpResponseStatus()
getHttpResponseStatus in interface org.apache.camel.spi.HttpResponseAwarepublic void setHttpResponseStatus(String httpResponseStatus)
setHttpResponseStatus in interface org.apache.camel.spi.HttpResponseAwareApache Camel