NameSizeException.java 687 B

1234567891011121314151617181920212223242526272829
  1. package J20250718.demo02_exception;
  2. /**
  3. * @author WanJl
  4. * @version 1.0
  5. * @title NameSizeException
  6. * @description
  7. * @create 2025/7/18
  8. */
  9. public class NameSizeException extends Exception{
  10. public NameSizeException() {
  11. }
  12. public NameSizeException(String message) {
  13. super(message);
  14. }
  15. public NameSizeException(String message, Throwable cause) {
  16. super(message, cause);
  17. }
  18. public NameSizeException(Throwable cause) {
  19. super(cause);
  20. }
  21. public NameSizeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
  22. super(message, cause, enableSuppression, writableStackTrace);
  23. }
  24. }