Package com.sap.ai.sdk.orchestration
Class OrchestrationFilterException.Input
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sap.ai.sdk.core.common.ClientException
com.sap.ai.sdk.orchestration.OrchestrationClientException
com.sap.ai.sdk.orchestration.OrchestrationFilterException
com.sap.ai.sdk.orchestration.OrchestrationFilterException.Input
- All Implemented Interfaces:
Serializable
- Enclosing class:
OrchestrationFilterException
Exception thrown when an error occurs during input filtering.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sap.ai.sdk.orchestration.OrchestrationFilterException
OrchestrationFilterException.Input, OrchestrationFilterException.Output -
Field Summary
Fields inherited from class com.sap.ai.sdk.orchestration.OrchestrationFilterException
filterDetails -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves Azure Content Safety input details fromfilterDetails, if present.Methods inherited from class com.sap.ai.sdk.orchestration.OrchestrationFilterException
getFilterDetails, getLlamaGuard38bMethods inherited from class com.sap.ai.sdk.orchestration.OrchestrationClientException
getClientError, getErrorResponse, getErrorResponseStreaming, getStatusCodeMethods inherited from class com.sap.ai.sdk.core.common.ClientException
getHttpRequest, getHttpResponse, setClientError, setHttpRequest, setHttpResponseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Input
public Input() -
Input
-
Input
-
Input
-
-
Method Details
-
getAzureContentSafetyInput
Retrieves Azure Content Safety input details fromfilterDetails, if present.- Returns:
- The AzureContentSafetyInput object, or
nullif not found or conversion fails. - Throws:
IllegalArgumentException- if the conversion of filter details toAzureContentSafetyInputfails due to invalid content.
-