public class JetStreamApiException
extends java.lang.Exception
| Constructor and Description |
|---|
JetStreamApiException(ApiResponse<?> apiResponse)
Construct an exception with the response from the server.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getErrorCode()
Get the error code from the response
|
java.lang.String |
getErrorDescription()
Get the description from the response
|
public JetStreamApiException(ApiResponse<?> apiResponse)
apiResponse - the response from the server.