Class 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:
    Serialized Form
    • Constructor Detail

      • TelegramException

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

        public TelegramException​(String message,
                                 Throwable cause)
      • TelegramException

        public TelegramException​(Throwable cause)
    • Method Detail

      • 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