blob: af1b8de6b8d991f78a5158ecb468c68e22276d3b [file] [log] [blame]
package com.example.myproject.exception;
import lombok.Data;
import lombok.EqualsAndHashCode;
public class BusinessException extends RuntimeException {
/**
* Constructs a new runtime exception with the specified detail message.
* The cause is not initialized, and may subsequently be initialized by a
* call to {@link #initCause}.
*
* @param message the detail message. The detail message is saved for
* later retrieval by the {@link #getMessage()} method.
*/
public BusinessException(String message) {
super(message);
}
}