public class APIException
extends java.io.IOException
| Constructor and Description |
|---|
APIException(java.lang.String message)
Constructs a new API exception with the specified detail message, no stack trace.
|
APIException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new API exception with the specified detail message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
static APIException |
fromHttpResponse(org.apache.http.HttpResponse response) |
public APIException(java.lang.String message)
message - the detail messagepublic APIException(java.lang.String message,
java.lang.Throwable cause)
message - the detail messagecause - the cause of the AlgorithmExceptionpublic static APIException fromHttpResponse(org.apache.http.HttpResponse response)