public final class ErrorType extends Throwable implements Response
| Modifier and Type | Method and Description |
|---|---|
static ErrorType |
create(String message) |
String |
getKind() |
boolean |
is(String kind) |
String |
slice(char sep,
int index) |
String |
toString()
Get this response as a String.
|
ResponseType |
type()
The response return type.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitget, get, getKeys, iterator, size, toBoolean, toBuffer, toByte, toBytes, toInteger, toLong, toShort, toStringforEach, spliteratorpublic ResponseType type()
Responsepublic boolean is(String kind)
public String getKind()
public String toString()
Responsepublic String slice(char sep, int index)
Copyright © 2020. All rights reserved.