fix the bug in plugin entity factory
This commit is contained in:
parent
a78eb14c05
commit
ac96d36e8d
|
@ -22,6 +22,7 @@ import org.bench4q.master.domain.entity.plugin.PluginParamInfo;
|
|||
import org.bench4q.master.domain.entity.plugin.PluginUI;
|
||||
import org.bench4q.master.domain.entity.plugin.RadioButtonType;
|
||||
import org.bench4q.master.domain.entity.plugin.TableType;
|
||||
import org.bench4q.master.exception.Bench4QRunTimeException;
|
||||
import org.bench4q.master.exception.ExceptionLog;
|
||||
import org.dom4j.Attribute;
|
||||
import org.dom4j.Document;
|
||||
|
@ -172,8 +173,9 @@ class ParamTypeFactory {
|
|||
return createComboType(element);
|
||||
case "file":
|
||||
return createFileType(element);
|
||||
default:
|
||||
throw new Bench4QRunTimeException("no such type:"+type);
|
||||
}
|
||||
return null;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue