Package com.redhat.threescale.rest.cms
Class ApiException
-
- All Implemented Interfaces:
-
java.io.Serializable
@Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class ApiException extends Exception
-
-
Field Summary
Fields Modifier and Type Field Description public intcodepublic Map<String, List<String>>responseHeaderspublic StringresponseBody
-
Constructor Summary
Constructors Constructor Description ApiException()ApiException(Throwable throwable)ApiException(String message)ApiException(String message, Throwable throwable, int code, Map<String, List<String>> responseHeaders, String responseBody)ApiException(String message, int code, Map<String, List<String>> responseHeaders, String responseBody)ApiException(String message, Throwable throwable, int code, Map<String, List<String>> responseHeaders)ApiException(int code, Map<String, List<String>> responseHeaders, String responseBody)ApiException(int code, String message)ApiException(int code, String message, Map<String, List<String>> responseHeaders, String responseBody)
-
Method Summary
Modifier and Type Method Description intgetCode()Get the HTTP status code. Map<String, List<String>>getResponseHeaders()Get the HTTP response headers. StringgetResponseBody()Get the HTTP response body. StringtoString()-
-
Constructor Detail
-
ApiException
ApiException()
-
ApiException
ApiException(Throwable throwable)
-
ApiException
ApiException(String message)
-
ApiException
ApiException(String message, Throwable throwable, int code, Map<String, List<String>> responseHeaders, String responseBody)
-
ApiException
ApiException(String message, int code, Map<String, List<String>> responseHeaders, String responseBody)
-
ApiException
ApiException(String message, Throwable throwable, int code, Map<String, List<String>> responseHeaders)
-
ApiException
ApiException(int code, String message)
-
-
Method Detail
-
getCode
int getCode()
Get the HTTP status code.
- Returns:
HTTP status code
-
getResponseHeaders
Map<String, List<String>> getResponseHeaders()
Get the HTTP response headers.
- Returns:
A map of list of string
-
getResponseBody
String getResponseBody()
Get the HTTP response body.
- Returns:
Response body in the form of string
-
-
-
-