Class HttpResponseException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class HttpResponseException
    extends RuntimeException
                        

    A runtime exception that can be used to stop a request immediately with a specific status code.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final HttpStatusCode getStatus()
      final String getStatusMessage()
      • Methods inherited from class kotlin.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, toString, wait, wait, wait