package com.ruoyi.web.modules.goods.exception;

import java.util.List;

/**
 * 商品批量操作失败
 */
public class GoodsBatchOperationException extends RuntimeException
{
    private static final long serialVersionUID = 1L;

    private final List<String> reasons;

    public GoodsBatchOperationException(String message, List<String> reasons)
    {
        super(message);
        this.reasons = reasons;
    }

    public List<String> getReasons()
    {
        return reasons;
    }
}
