Class ThreescaleCmsApiException
-
- All Implemented Interfaces:
-
java.io.Serializable
public class ThreescaleCmsApiException extends ThreescaleCmsException
Common base exception type for all 3scale CMS-related API exceptions
-
-
Field Summary
Fields Modifier and Type Field Description public final int
httpStatus
-
Constructor Summary
Constructors Constructor Description ThreescaleCmsApiException(int httpStatus, Error apiError, String message)
ThreescaleCmsApiException(int httpStatus, String message)
ThreescaleCmsApiException(int httpStatus, Error apiError)
ThreescaleCmsApiException(int httpStatus, Error apiError, String message, Throwable cause)
ThreescaleCmsApiException(int httpStatus, String message, Throwable cause)
ThreescaleCmsApiException(int httpStatus, Error apiError, Throwable cause)
-
Method Summary
Modifier and Type Method Description int
getHttpStatus()
Optional<Error>
getApiError()
-
-
Constructor Detail
-
ThreescaleCmsApiException
ThreescaleCmsApiException(int httpStatus, String message)
-
ThreescaleCmsApiException
ThreescaleCmsApiException(int httpStatus, Error apiError)
-
ThreescaleCmsApiException
ThreescaleCmsApiException(int httpStatus, Error apiError, String message, Throwable cause)
-
ThreescaleCmsApiException
ThreescaleCmsApiException(int httpStatus, String message, Throwable cause)
-
-
Method Detail
-
getHttpStatus
int getHttpStatus()
-
getApiError
@Nonnull() Optional<Error> getApiError()
-
-
-
-