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

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

package com.hecloud.runtime.common.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * 内部业务处理异常
 *
 * @author LoveInBJ
 */
public class InternalServerException extends RuntimeException {

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy