Class DocumentParseTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.alibaba.cloud.ai.dashscope.common.DashScopeException
com.alibaba.cloud.ai.dashscope.rag.exception.DashScopeDocumentException
com.alibaba.cloud.ai.dashscope.rag.exception.DocumentParseTimeoutException
- All Implemented Interfaces:
Serializable
Exception thrown when document parsing times out
- Since:
- 2025/11/27
- Author:
- kevin
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentParseTimeoutException(String message, int attemptCount, long elapsedTimeMs) Constructor -
Method Summary
Modifier and TypeMethodDescriptionintlongMethods inherited from class com.alibaba.cloud.ai.dashscope.rag.exception.DashScopeDocumentException
getFileId, getFilePath, withFileId, withFilePathMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DocumentParseTimeoutException
Constructor- Parameters:
message- the detail messageattemptCount- number of attempts madeelapsedTimeMs- elapsed time in milliseconds
-
-
Method Details
-
getAttemptCount
public int getAttemptCount() -
getElapsedTimeMs
public long getElapsedTimeMs() -
getMessage
- Overrides:
getMessagein classDashScopeDocumentException
-