Package com.okta.sdk.resource.client
Class ApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.okta.sdk.resource.client.ApiException
- All Implemented Interfaces:
- Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
           comments="Generator version: 7.8.0")
public class ApiException
extends RuntimeException
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionApiException(int code, String message) ApiException(int code, String message, Map<String, List<String>> responseHeaders, String responseBody) ApiException(String message) 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(String message, Throwable throwable, int code, Map<String, List<String>> responseHeaders, String responseBody) ApiException(Throwable throwable) 
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
- 
Constructor Details- 
ApiExceptionpublic ApiException()
- 
ApiException
- 
ApiException
- 
ApiException
- 
ApiException
- 
ApiException
- 
ApiException
- 
ApiException
- 
ApiException
 
- 
- 
Method Details- 
getCodepublic int getCode()Get the HTTP status code.- Returns:
- HTTP status code
 
- 
getResponseHeadersGet the HTTP response headers.- Returns:
- A map of list of string
 
- 
getResponseBodyGet the HTTP response body.- Returns:
- Response body in the form of string
 
- 
toString
 
-