@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-03-11T21:45:14.408Z[UTC]")
public class ApiException
extends java.lang.Exception
| Constructor and Description |
|---|
ApiException() |
ApiException(int code,
io.vertx.core.MultiMap responseHeaders,
java.lang.String responseBody) |
ApiException(int code,
java.lang.String message) |
ApiException(int code,
java.lang.String message,
io.vertx.core.MultiMap responseHeaders,
java.lang.String responseBody) |
ApiException(java.lang.String message) |
ApiException(java.lang.String message,
int code,
io.vertx.core.MultiMap responseHeaders,
java.lang.String responseBody) |
ApiException(java.lang.String message,
java.lang.Throwable throwable,
int code,
io.vertx.core.MultiMap responseHeaders) |
ApiException(java.lang.String message,
java.lang.Throwable throwable,
int code,
io.vertx.core.MultiMap responseHeaders,
java.lang.String responseBody) |
ApiException(java.lang.Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
static <T> io.vertx.core.AsyncResult<T> |
fail(int code,
io.vertx.core.MultiMap responseHeaders,
java.lang.String responseBody) |
static <T> io.vertx.core.AsyncResult<T> |
fail(int failureCode,
java.lang.String message) |
static <T> io.vertx.core.AsyncResult<T> |
fail(java.lang.String message) |
static <T> io.vertx.core.AsyncResult<T> |
fail(java.lang.String message,
int code,
io.vertx.core.MultiMap responseHeaders,
java.lang.String responseBody) |
static <T> io.vertx.core.AsyncResult<T> |
fail(java.lang.String message,
java.lang.Throwable throwable,
int code,
io.vertx.core.MultiMap responseHeaders) |
static <T> io.vertx.core.AsyncResult<T> |
fail(java.lang.String message,
java.lang.Throwable throwable,
int code,
io.vertx.core.MultiMap responseHeaders,
java.lang.String responseBody) |
static <T> io.vertx.core.AsyncResult<T> |
fail(java.lang.Throwable throwable) |
int |
getCode()
Get the HTTP status code.
|
java.lang.String |
getResponseBody()
Get the HTTP response body.
|
io.vertx.core.MultiMap |
getResponseHeaders()
Get the HTTP response headers.
|
public ApiException()
public ApiException(java.lang.Throwable throwable)
public ApiException(java.lang.String message)
public ApiException(java.lang.String message,
java.lang.Throwable throwable,
int code,
io.vertx.core.MultiMap responseHeaders,
java.lang.String responseBody)
public ApiException(java.lang.String message,
int code,
io.vertx.core.MultiMap responseHeaders,
java.lang.String responseBody)
public ApiException(java.lang.String message,
java.lang.Throwable throwable,
int code,
io.vertx.core.MultiMap responseHeaders)
public ApiException(int code,
io.vertx.core.MultiMap responseHeaders,
java.lang.String responseBody)
public ApiException(int code,
java.lang.String message)
public ApiException(int code,
java.lang.String message,
io.vertx.core.MultiMap responseHeaders,
java.lang.String responseBody)
public static <T> io.vertx.core.AsyncResult<T> fail(int failureCode,
java.lang.String message)
public static <T> io.vertx.core.AsyncResult<T> fail(java.lang.Throwable throwable)
public static <T> io.vertx.core.AsyncResult<T> fail(java.lang.String message)
public static <T> io.vertx.core.AsyncResult<T> fail(java.lang.String message,
java.lang.Throwable throwable,
int code,
io.vertx.core.MultiMap responseHeaders)
public static <T> io.vertx.core.AsyncResult<T> fail(java.lang.String message,
java.lang.Throwable throwable,
int code,
io.vertx.core.MultiMap responseHeaders,
java.lang.String responseBody)
public static <T> io.vertx.core.AsyncResult<T> fail(java.lang.String message,
int code,
io.vertx.core.MultiMap responseHeaders,
java.lang.String responseBody)
public static <T> io.vertx.core.AsyncResult<T> fail(int code,
io.vertx.core.MultiMap responseHeaders,
java.lang.String responseBody)
public int getCode()
public io.vertx.core.MultiMap getResponseHeaders()
public java.lang.String getResponseBody()