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

com.founder.ecrx.exception.MipServerException Maven / Gradle / Ivy

There is a newer version: 3.6.1.9
Show newest version
package com.founder.ecrx.exception;

/**
 * chis4cloud-sdk-med 专用异常
 */
public class MipServerException extends RuntimeException {
    private int code;
    private String msg;

    public MipServerException(FuncRetCode funcRetCode) {
        super(funcRetCode.getMessage());
        this.code = funcRetCode.value();
        this.msg = funcRetCode.getMessage();
    }

    public MipServerException(int code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy