Class ApiErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aboutyou.cloud.adminapi.exception.ApiErrorException
- All Implemented Interfaces:
java.io.Serializable
public class ApiErrorException
extends java.lang.RuntimeException
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ApiErrorException(com.google.gson.JsonObject errorResponse, java.lang.Integer statusCode) -
Method Summary
Modifier and Type Method Description java.util.List<ApiError>getErrors()ApiErrorgetFirstError()
-
Constructor Details
-
ApiErrorException
public ApiErrorException(com.google.gson.JsonObject errorResponse, java.lang.Integer statusCode)
-
-
Method Details