Class ProactiveConnectResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vonage.client.VonageClientException
com.vonage.client.VonageApiResponseException
com.vonage.client.proactiveconnect.ProactiveConnectResponseException
- All Implemented Interfaces:
Jsonable,Serializable
Response returned when an error is encountered (i.e. the API returns a non-2xx status code).
- See Also:
-
Field Summary
Fields inherited from class com.vonage.client.VonageApiResponseException
code, detail, errorCode, errorCodeLabel, errors, instance, invalidParameters, statusCode, title, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates an instance of this class from a JSON payload.Methods inherited from class com.vonage.client.VonageApiResponseException
equals, fromJson, getCode, getDetail, getErrorCodeLabel, getErrors, getInstance, getInvalidParameters, getMessage, getStatusCode, getTitle, getType, hashCode, toJsonMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
updateFromJson
-
Constructor Details
-
ProactiveConnectResponseException
public ProactiveConnectResponseException()
-
-
Method Details
-
fromJson
Creates an instance of this class from a JSON payload.- Parameters:
json- The JSON string to parse.- Returns:
- An instance of this class with all known fields populated from the JSON payload, if present.
-