Class FileSizeTooSmallException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.alibaba.cloud.ai.dashscope.rag.exception.FileSizeTooSmallException
- All Implemented Interfaces:
Serializable
Exception thrown when file size is below the minimum allowed limit
- Since:
- 2025/11/27
- Author:
- kevin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileSizeTooSmallException
public FileSizeTooSmallException(long fileSize, long minFileSize) Constructor- Parameters:
fileSize- actual file sizeminFileSize- minimum allowed file size
-
-
Method Details
-
getFileSize
public long getFileSize() -
getMinFileSize
public long getMinFileSize()
-