Package feign

Class FeignException

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected FeignException​(int status, java.lang.String message, byte[] content)  
      protected FeignException​(java.lang.String message)  
      protected FeignException​(java.lang.String message, java.lang.Throwable cause)  
      protected FeignException​(java.lang.String message, java.lang.Throwable cause, byte[] content)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] content()  
      java.lang.String contentUTF8()  
      static FeignException errorStatus​(java.lang.String methodKey, Response response)  
      int status()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FeignException

        protected FeignException​(java.lang.String message,
                                 java.lang.Throwable cause)
      • FeignException

        protected FeignException​(java.lang.String message,
                                 java.lang.Throwable cause,
                                 byte[] content)
      • FeignException

        protected FeignException​(java.lang.String message)
      • FeignException

        protected FeignException​(int status,
                                 java.lang.String message,
                                 byte[] content)
    • Method Detail

      • status

        public int status()
      • content

        public byte[] content()
      • contentUTF8

        public java.lang.String contentUTF8()