Class DashScopeHttpClient.DashScopeHttpException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.agentscope.extensions.model.dashscope.DashScopeHttpClient.DashScopeHttpException
All Implemented Interfaces:
Serializable
Enclosing class:
DashScopeHttpClient

public static class DashScopeHttpClient.DashScopeHttpException extends RuntimeException
Exception thrown when DashScope HTTP operations fail.
See Also:
  • Constructor Details

    • DashScopeHttpException

      public DashScopeHttpException(String message)
    • DashScopeHttpException

      public DashScopeHttpException(String message, Throwable cause)
    • DashScopeHttpException

      public DashScopeHttpException(String message, int statusCode, String responseBody)
    • DashScopeHttpException

      public DashScopeHttpException(String message, String errorCode, String responseBody)
  • Method Details

    • getStatusCode

      public Integer getStatusCode()
    • getErrorCode

      public String getErrorCode()
    • getResponseBody

      public String getResponseBody()