Package com.alibaba.dashscope.errors
Class ApiConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.alibaba.dashscope.errors.DashScopeException
com.alibaba.dashscope.errors.ApiConnectionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ApiTimeoutException
Network-level failure (connection refused, DNS, TLS, reset mid-stream...).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionApiConnectionException(String message, String code, Throwable cause) ApiConnectionException(String message, Throwable cause) -
Method Summary
Methods inherited from class com.alibaba.dashscope.errors.DashScopeException
getBody, getCode, getHeaders, getRequestId, getStatusCode, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ApiConnectionException
-
ApiConnectionException
-