package com.iailab.module.model.mdk.common.exceptions; //类 职 责:模型调用异常 public class ModelInvokeException extends Exception { public final static String errorGetModelEntity = "获取modelEntity失败"; public final static String errorGetModelInputCount = "获取Model输入信息失败"; public final static String errorGetModelOutputCount = "获取Model输出信息失败"; public final static String errorGetModelArithParam = "获取模型的算法参数失败"; public final static String errorGetModelFile = "获取模型文件失败"; private Throwable cause; public ModelInvokeException() { } public ModelInvokeException(String msg) { super(msg); } public ModelInvokeException(String msg, Throwable cause) { super(msg); this.cause = cause; } }