config definition better error handling
This commit is contained in:
parent
1b62525871
commit
c2721985b0
|
@ -3598,4 +3598,4 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00"
|
|||
addTool = afrTableGenerator, "AFR Table Generator", afrTableTbl
|
||||
#endif
|
||||
|
||||
;
|
||||
; po
|
||||
|
|
Binary file not shown.
|
@ -385,6 +385,8 @@ public class ConfigDefinition {
|
|||
Map<Integer, String> listAnalogInputs,
|
||||
Map<Integer, String> listEventInputs,
|
||||
Map<Integer, String> listSwitchInputs) {
|
||||
Objects.requireNonNull(id, "id");
|
||||
Objects.requireNonNull(className, "classname for " + id);
|
||||
|
||||
switch (className) {
|
||||
case "outputs":
|
||||
|
|
Loading…
Reference in New Issue