blob: af1b8de6b8d991f78a5158ecb468c68e22276d3b [file] [log] [blame]
Jinf50fba62025-06-09 22:47:24 +08001package com.example.myproject.exception;
2
3import lombok.Data;
4import lombok.EqualsAndHashCode;
5
6public class BusinessException extends RuntimeException {
7 /**
8 * Constructs a new runtime exception with the specified detail message.
9 * The cause is not initialized, and may subsequently be initialized by a
10 * call to {@link #initCause}.
11 *
12 * @param message the detail message. The detail message is saved for
13 * later retrieval by the {@link #getMessage()} method.
14 */
15 public BusinessException(String message) {
16 super(message);
17 }
18}
19