Class FileSizeExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.alibaba.cloud.ai.dashscope.rag.exception.FileSizeExceededException
- All Implemented Interfaces:
Serializable
Exception thrown when file size exceeds the maximum 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
-
FileSizeExceededException
public FileSizeExceededException(long fileSize, long maxFileSize) Constructor- Parameters:
fileSize- actual file sizemaxFileSize- maximum allowed file size
-
-
Method Details
-
getFileSize
public long getFileSize() -
getMaxFileSize
public long getMaxFileSize()
-