public class ClientAPIException extends io.vertx.core.impl.NoStackTraceThrowable
Constructor and Description |
---|
ClientAPIException(String type, String reason) Create a new exception |
Modifier and Type | Method and Description |
---|---|
String | getType() Get the type of the error |
static ClientAPIException | parse(String json) Parse an API exception from a JSON string |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public String getType()
public static ClientAPIException parse(String json)
json
- the JSON string