SmartBusinessException.java 886 B

123456789101112131415161718192021222324252627282930313233
  1. package net.lab1024.smartadmin.common.exception;
  2. /**
  3. *
  4. * [ 业务逻辑异常,全局异常拦截后统一返回ResponseCodeConst.SYSTEM_ERROR ]
  5. *
  6. * @version 1.0
  7. * @since JDK1.8
  8. * @author yandanyang
  9. * @company 1024lab.net
  10. * @copyright (c) 2019 1024lab.netInc. All rights reserved.
  11. * @date
  12. */
  13. public class SmartBusinessException extends RuntimeException {
  14. public SmartBusinessException() {
  15. }
  16. public SmartBusinessException(String message) {
  17. super(message);
  18. }
  19. public SmartBusinessException(String message, Throwable cause) {
  20. super(message, cause);
  21. }
  22. public SmartBusinessException(Throwable cause) {
  23. super(cause);
  24. }
  25. public SmartBusinessException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
  26. super(message, cause, enableSuppression, writableStackTrace);
  27. }
  28. }