Class FlagrightApiException

    • Constructor Summary

      Constructors 
      Constructor Description
      FlagrightApiException​(java.lang.String message, int statusCode, java.lang.Object body)  
      FlagrightApiException​(java.lang.String message, int statusCode, java.lang.Object body, okhttp3.Response rawResponse)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object body()  
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers()  
      int statusCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

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

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

      • FlagrightApiException

        public FlagrightApiException​(java.lang.String message,
                                     int statusCode,
                                     java.lang.Object body)
      • FlagrightApiException

        public FlagrightApiException​(java.lang.String message,
                                     int statusCode,
                                     java.lang.Object body,
                                     okhttp3.Response rawResponse)
    • Method Detail

      • statusCode

        public int statusCode()
        Returns:
        the statusCode
      • body

        public java.lang.Object body()
        Returns:
        the body
      • headers

        public java.util.Map<java.lang.String,​java.util.List<java.lang.String>> headers()
        Returns:
        the headers
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable