Class HttpErrorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.weebkun.utils.HttpErrorException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UnauthorisedException

public class HttpErrorException
extends java.lang.RuntimeException
indicates an http error was received.
See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.lang.String body  
    java.lang.String description  
    int status  
  • Constructor Summary

    Constructors 
    Constructor Description
    HttpErrorException​(okhttp3.Response response)  
  • Method Summary

    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
  • Field Details

    • status

      public int status
    • description

      public java.lang.String description
    • body

      public java.lang.String body
  • Constructor Details