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

com.hecloud.runtime.common.exception.NotFoundException Maven / Gradle / Ivy

package com.hecloud.runtime.common.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * 数据未找到异常
 *
 * @author LoveInBJ
 */
public class NotFoundException extends RuntimeException {

    @Getter
    private final String code = "NOT_FOUND_EXCEPTION";
    @Getter
    @Setter
    private String solution;

    public NotFoundException(String message, Throwable cause) {
        super(message, cause);
    }

    public NotFoundException(Throwable cause) {
        super(cause);
    }

    public NotFoundException(String message, Throwable cause, String solution) {
        super(message, cause);
        this.solution = solution;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy