Package dev.yasper.rump.exception
Class HttpStatusCodeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.yasper.rump.exception.HttpStatusCodeException
-
- All Implemented Interfaces:
Serializable
public class HttpStatusCodeException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpStatusCodeException(HttpResponse<String> errorResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpResponse<String>
getErrorResponse()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
HttpStatusCodeException
public HttpStatusCodeException(HttpResponse<String> errorResponse)
-
-
Method Detail
-
getErrorResponse
public HttpResponse<String> getErrorResponse()
-
-