Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 8ff15c29 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

JSONInputData: minor formatting

parent dbfb2656
No related branches found
No related tags found
No related merge requests found
......@@ -193,16 +193,13 @@ namespace TUGraz.VectoCore.InputData.FileIO.JSON
return JSONInputDataFactory.ReadGearbox(Path.Combine(BasePath, gearboxFile));
} catch (Exception e) {
if (!TolerateMissing) {
throw new VectoException(
"JobFile: Failed to read Gearbox file '{0}': {1}", e,
Body[JsonKeys.Vehicle_GearboxFile],
e.Message);
throw new VectoException("JobFile: Failed to read Gearbox file '{0}': {1}", e,
Body[JsonKeys.Vehicle_GearboxFile], e.Message);
}
return new JSONGearboxDataV6(
GetDummyJSONStructure(),
Path.Combine(BasePath, Body.GetEx(JsonKeys.Vehicle_GearboxFile).Value<string>()) +
MissingFileSuffix);
return new JSONGearboxDataV6(GetDummyJSONStructure(),
Path.Combine(BasePath, Body.GetEx(JsonKeys.Vehicle_GearboxFile).Value<string>())
+ MissingFileSuffix);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment