Class OrchestrationClientException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
OrchestrationFilterException

public class OrchestrationClientException extends ClientException
Exception thrown by the OrchestrationClient in case of an error.
See Also:
  • Constructor Details

    • OrchestrationClientException

      public OrchestrationClientException()
    • OrchestrationClientException

      public OrchestrationClientException(String message)
    • OrchestrationClientException

      public OrchestrationClientException(Throwable cause)
    • OrchestrationClientException

      public OrchestrationClientException(String message, Throwable cause)
  • Method Details

    • getClientError

      @Nullable public OrchestrationError getClientError()
      Description copied from class: ClientException
      Wraps a structured error payload received from the remote service, if available. This can be used to extract more detailed error information.
      Overrides:
      getClientError in class ClientException
    • getErrorResponse

      @Beta @Nullable public ErrorResponse getErrorResponse()
      Retrieves the ErrorResponse from the orchestration service, if available.
      Returns:
      The ErrorResponse object, or null if not available.
      Since:
      1.10.0
    • getErrorResponseStreaming

      @Beta @Nullable public ErrorResponseStreaming getErrorResponseStreaming()
      Retrieves the ErrorResponseStreaming from the orchestration service, if available.
      Returns:
      The ErrorResponseStreaming object, or null if not available.
      Since:
      1.10.0
    • getStatusCode

      @Nullable public Integer getStatusCode()
      Retrieves the HTTP status code from the original error response, if available.
      Returns:
      the HTTP status code, or null if not available
      Since:
      1.10.0