Commit 0c8c33c0 authored by in3's avatar in3

Add exception

parent 5f22ce3d
......@@ -430,6 +430,9 @@ bool TasDriveCmd::driveSampleTemerature(Items& items, sampletemperature::SampleT
if (StringUtilities::cmp(*items, CommonCmdDef::BACKGROUND_CMG) == true) {
background = true;
}
else {
throw CommonCmdDef::BadInput(*items);
}
}
return background;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment