package com.bcxin.Infrastructures.exceptions;

import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter(AccessLevel.PROTECTED)
public class NotFoundTenantException extends TenantExceptionAbstract {
    private Object data;
    public NotFoundTenantException() {
        super("404. 找不到数据!");
    }

    public NotFoundTenantException(String msg) {
        super(msg);
    }

    public NotFoundTenantException(String msg, Object data) {
        this(msg);
        this.setData(data);
    }
}
