| | |
| | | /** |
| | | * 全局异常 |
| | | * |
| | | * @author ruoyi |
| | | * @author jc |
| | | */ |
| | | public class GlobalException extends RuntimeException |
| | | { |
| | |
| | | /** |
| | | * 业务异常 |
| | | * |
| | | * @author ruoyi |
| | | * @author jc |
| | | */ |
| | | public final class ServiceException extends RuntimeException |
| | | { |
| | |
| | | /** |
| | | * 文件名称超长限制异常类 |
| | | * |
| | | * @author ruoyi |
| | | * @author jc |
| | | */ |
| | | public class FileNameLengthLimitExceededException extends FileException |
| | | { |
| | |
| | | /** |
| | | * 计划策略异常 |
| | | * |
| | | * @author ruoyi |
| | | * @author jc |
| | | */ |
| | | public class TaskException extends Exception |
| | | { |
| | |
| | | /** |
| | | * 用户错误最大次数异常类 |
| | | * |
| | | * @author ruoyi |
| | | * @author jc |
| | | */ |
| | | public class UserPasswordRetryLimitExceedException extends UserException |
| | | { |
| | |
| | | /** |
| | | * 排除JSON敏感属性 |
| | | * |
| | | * @author ruoyi |
| | | * @author jc |
| | | */ |
| | | public class PropertyPreExcludeFilter extends SimplePropertyPreFilter |
| | | { |
| | |
| | | /** |
| | | * Repeatable 过滤器 |
| | | * |
| | | * @author ruoyi |
| | | * @author jc |
| | | */ |
| | | public class RepeatableFilter implements Filter |
| | | { |
| | |
| | | /** |
| | | * 构建可重复读取inputStream的request |
| | | * |
| | | * @author ruoyi |
| | | * @author jc |
| | | */ |
| | | public class RepeatedlyRequestWrapper extends HttpServletRequestWrapper |
| | | { |
| | |
| | | /** |
| | | * 文件上传工具类 |
| | | * |
| | | * @author ruoyi |
| | | * @author jc |
| | | */ |
| | | public class FileUploadUtils |
| | | { |
| | |
| | | /** |
| | | * 反射工具类. 提供调用getter/setter方法, 访问私有变量, 调用私有方法, 获取泛型类型Class, 被AOP过的真实类等工具函数. |
| | | * |
| | | * @author ruoyi |
| | | * @author jc |
| | | */ |
| | | @SuppressWarnings("rawtypes") |
| | | public class ReflectUtils |
| | |
| | | /** |
| | | * Base64工具类 |
| | | * |
| | | * @author ruoyi |
| | | * @author jc |
| | | */ |
| | | public final class Base64 |
| | | { |
| | |
| | | /** |
| | | * Md5加密方法 |
| | | * |
| | | * @author ruoyi |
| | | * @author jc |
| | | */ |
| | | public class Md5Utils |
| | | { |
| | |
| | | /** |
| | | * spring工具类 方便在非spring管理环境中获取bean |
| | | * |
| | | * @author ruoyi |
| | | * @author jc |
| | | */ |
| | | @Component |
| | | public final class SpringUtils implements BeanFactoryPostProcessor, ApplicationContextAware |
| | |
| | | /** |
| | | * 定时任务处理(禁止并发执行) |
| | | * |
| | | * @author ruoyi |
| | | * @author jc |
| | | * |
| | | */ |
| | | @DisallowConcurrentExecution |