CheckedException.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * Copyright (c) 2018-2025, lengleng All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions are met:
  6. *
  7. * Redistributions of source code must retain the above copyright notice,
  8. * this list of conditions and the following disclaimer.
  9. * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * Neither the name of the pig4cloud.com developer nor the names of its
  13. * contributors may be used to endorse or promote products derived from
  14. * this software without specific prior written permission.
  15. * Author: lengleng (wangiegie@gmail.com)
  16. */
  17. package com.pig4cloud.pigx.gateway.exception;
  18. /**
  19. * @author lengleng
  20. * @date 2018年07月22日
  21. * 异常包装类
  22. */
  23. public class CheckedException extends Exception {
  24. private static final long serialVersionUID = 1L;
  25. public CheckedException() {
  26. }
  27. public CheckedException(String message) {
  28. super(message);
  29. }
  30. public CheckedException(Throwable cause) {
  31. super(cause);
  32. }
  33. public CheckedException(String message, Throwable cause) {
  34. super(message, cause);
  35. }
  36. public CheckedException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
  37. super(message, cause, enableSuppression, writableStackTrace);
  38. }
  39. }