public class RepositoryCallException
extends java.lang.RuntimeException
This exception hides the implementation specific exception (like jersey2, vertx or okhttp exceptions). The original exception will be part of the cause.
Constructor and Description |
---|
RepositoryCallException(java.lang.String message,
int statusCode,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getStatusCode() |
public RepositoryCallException(java.lang.String message, int statusCode, java.lang.Throwable cause)
message
- the message. It may be resolved from the response body an status of a failed
request.statusCode
- the http status code (like 404 or 500).cause
- the original exception, probably linked to the specific implementation.