All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.lifelab.leisure.common.jpa.customiz.exception.CommonJpaException Maven / Gradle / Ivy

package com.github.lifelab.leisure.common.jpa.customiz.exception;

import com.github.lifelab.leisure.common.exception.BusinessException;
import com.github.lifelab.leisure.common.exception.ExtensionException;
import com.github.lifelab.leisure.common.exception.consts.HttpStatus;

/**
 * JPA 异常
 *
 * @author weichao.li ([email protected])
 * @date 2018/9/16
 */
public class CommonJpaException extends BusinessException {

    public CommonJpaException(EnumExceptionMessageJpa e) {
        super(e.getCode(), e.getMessage());
    }

    public CommonJpaException(EnumExceptionMessageJpa e, Object o) {
        super(e.getCode(), e.getMessage(), o);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy