FileNameLengthLimitExceededException.java 429 B

12345678910111213141516
  1. package com.ruoyi.common.exception.file;
  2. /**
  3. * 文件名称超长限制异常类
  4. *
  5. * @author ruoyi
  6. */
  7. public class FileNameLengthLimitExceededException extends FileException
  8. {
  9. private static final long serialVersionUID = 1L;
  10. public FileNameLengthLimitExceededException(int defaultFileNameLength)
  11. {
  12. super("upload.filename.exceed.length", new Object[] { defaultFileNameLength });
  13. }
  14. }