Class DashScopeDocumentException
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DocumentParseTimeoutException
Base exception for DashScope document processing operations
This exception serves as the parent class for all document-related
exceptions in the DashScope document reader module. It extends
DashScopeException to integrate with the existing exception hierarchy.
Exception hierarchy:
RuntimeException
└── DashScopeException
└── DashScopeDocumentException
├── FileSizeTooSmallException
├── FileSizeExceededException
└── DocumentParseTimeoutException
- Since:
- 2025/11/27
- Author:
- kevin
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDashScopeDocumentException(ErrorCodeEnum errorCode) DashScopeDocumentException(String message) DashScopeDocumentException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DashScopeDocumentException
-
DashScopeDocumentException
-
DashScopeDocumentException
-
-
Method Details
-
getFilePath
-
withFilePath
-
getFileId
-
withFileId
-
getMessage
- Overrides:
getMessagein classThrowable
-