public class D4ScienceIAMClientException extends Exception
| Constructor and Description |
|---|
D4ScienceIAMClientException(String message,
Throwable cause)
Creates a new exception with the specified message and cause.
|
D4ScienceIAMClientException(Throwable cause)
Creates a new exception with the specified cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
Returns the content type if the cause is a KeycloakClientException.
|
String |
getResponseString()
Returns the response string if the cause is a KeycloakClientException.
|
int |
getStatus()
Returns the HTTP status code if the cause is a KeycloakClientException.
|
boolean |
hasJSONPayload()
Checks if the response has a JSON payload.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic D4ScienceIAMClientException(Throwable cause)
cause - the underlying causepublic int getStatus()
public String getContentType()
public boolean hasJSONPayload()
public String getResponseString()
Copyright © 2025. All rights reserved.