Class TelegramException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.camel.RuntimeCamelException
org.apache.camel.component.telegram.TelegramException
- All Implemented Interfaces:
Serializable
,org.apache.camel.spi.HttpResponseAware
public class TelegramException
extends org.apache.camel.RuntimeCamelException
implements org.apache.camel.spi.HttpResponseAware
- See Also:
-
Constructor Summary
ConstructorDescriptionTelegramException
(String message, int httpResponseCode, String httpResponseStatus) TelegramException
(String message, Throwable cause) TelegramException
(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionint
void
setHttpResponseCode
(int httpResponseCode) void
setHttpResponseStatus
(String httpResponseStatus) Methods inherited from class org.apache.camel.RuntimeCamelException
wrapRuntimeCamelException, wrapRuntimeException
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TelegramException
-
TelegramException
-
TelegramException
-
-
Method Details
-
getHttpResponseCode
public int getHttpResponseCode()- Specified by:
getHttpResponseCode
in interfaceorg.apache.camel.spi.HttpResponseAware
-
setHttpResponseCode
public void setHttpResponseCode(int httpResponseCode) - Specified by:
setHttpResponseCode
in interfaceorg.apache.camel.spi.HttpResponseAware
-
getHttpResponseStatus
- Specified by:
getHttpResponseStatus
in interfaceorg.apache.camel.spi.HttpResponseAware
-
setHttpResponseStatus
- Specified by:
setHttpResponseStatus
in interfaceorg.apache.camel.spi.HttpResponseAware
-