Package ai.neuon.utility.http.response
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.
-
-
Constructor Summary
Constructors Constructor Description HttpResponseException(HttpStatusCode status, String statusMessage, Throwable cause)
-
Method Summary
Modifier and Type Method Description final HttpStatusCodegetStatus()final StringgetStatusMessage()-
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
-
-
Method Detail
-
getStatus
final HttpStatusCode getStatus()
-
getStatusMessage
final String getStatusMessage()
-
-
-
-