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 int
code
public Map<String, List<String>>
responseHeaders
public String
responseBody
-
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 int
getCode()
Get the HTTP status code. Map<String, List<String>>
getResponseHeaders()
Get the HTTP response headers. String
getResponseBody()
Get the HTTP response body. String
toString()
-
-
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
-
-
-
-