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 Details

    • TelegramException

      public TelegramException(String message, int httpResponseCode, String httpResponseStatus)
    • TelegramException

      public TelegramException(String message, Throwable cause)
    • TelegramException

      public TelegramException(Throwable cause)
  • Method Details

    • getHttpResponseCode

      public int getHttpResponseCode()
      Specified by:
      getHttpResponseCode in interface org.apache.camel.spi.HttpResponseAware
    • setHttpResponseCode

      public void setHttpResponseCode(int httpResponseCode)
      Specified by:
      setHttpResponseCode in interface org.apache.camel.spi.HttpResponseAware
    • getHttpResponseStatus

      public String getHttpResponseStatus()
      Specified by:
      getHttpResponseStatus in interface org.apache.camel.spi.HttpResponseAware
    • setHttpResponseStatus

      public void setHttpResponseStatus(String httpResponseStatus)
      Specified by:
      setHttpResponseStatus in interface org.apache.camel.spi.HttpResponseAware