You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::cout << "Something went wrong in reading the SIMULATION MENU! Please double-check your input file with the reference in SampleRunDir!";
99
-
exit(1);
97
+
catch (const std::exception& e) {
98
+
throwstd::runtime_error("Something went wrong in reading the SIMULATION MENU! Please double-check your input file with the reference in Code.v05-00/defaults/input.yaml\n Exception: " + std::string(e.what()));
std::cout << "Something went wrong in reading the PARAMETER MENU! Please double-check your input file with the reference in SampleRunDir!";
107
-
exit(1);
104
+
catch (const std::exception& e) {
105
+
throwstd::runtime_error("Something went wrong in reading the PARAMETER MENU! Please double-check your input file with the reference in Code.v05-00/defaults/input.yaml\n Exception: " + std::string(e.what()));
std::cout << "Something went wrong in reading the TRANSPORT MENU! Please double-check your input file with the reference in SampleRunDir!";
115
-
exit(1);
111
+
catch (const std::exception& e) {
112
+
throwstd::runtime_error("Something went wrong in reading the TRANSPORT MENU! Please double-check your input file with the reference in Code.v05-00/defaults/input.yaml\n Exception: " + std::string(e.what()));
std::cout << "Something went wrong in reading the CHEMISTRY MENU! Please double-check your input file with the reference in SampleRunDir!";
123
-
exit(1);
118
+
catch (const std::exception& e) {
119
+
throwstd::runtime_error("Something went wrong in reading the CHEMISTRY MENU! Please double-check your input file with the reference in Code.v05-00/defaults/input.yaml\n Exception: " + std::string(e.what()));
124
120
}
125
121
126
122
try {
127
123
readAeroMenu(input, mergedData["AEROSOL MENU"]);
128
124
}
129
-
catch (...) {
130
-
std::cout << "Something went wrong in reading the AEROSOL MENU! Please double-check your input file with the reference in SampleRunDir!";
131
-
exit(1);
125
+
catch (const std::exception& e) {
126
+
throwstd::runtime_error("Something went wrong in reading the AEROSOL MENU! Please double-check your input file with the reference in Code.v05-00/defaults/input.yaml\n Exception: " + std::string(e.what()));
std::cout << "Something went wrong in reading the METEOROLOGY MENU! Please double-check your input file with the reference in SampleRunDir!";
143
-
exit(1);
132
+
catch (const std::exception& e) {
133
+
throwstd::runtime_error("Something went wrong in reading the METEOROLOGY MENU! Please double-check your input file with the reference in Code.v05-00/defaults/input.yaml\n Exception: " + std::string(e.what()));
std::cout << "Something went wrong in reading the DIAGNOSTIC MENU! Please double-check your input file with the reference in SampleRunDir!";
151
-
exit(1);
139
+
catch (const std::exception& e) {
140
+
throwstd::runtime_error("Something went wrong in reading the DIAGNOSTIC MENU! Please double-check your input file with the reference in Code.v05-00/defaults/input.yaml\n Exception: " + std::string(e.what()));
std::cout << "Something went wrong in reading the ADVANCED OPTIONS MENU! Please double-check your input file with the reference in SampleRunDir!";
159
-
exit(1);
146
+
catch (const std::exception& e) {
147
+
throwstd::runtime_error("Something went wrong in reading the ADVANCED OPTIONS MENU! Please double-check your input file with the reference in Code.v05-00/defaults/input.yaml\n Exception: " + std::string(e.what()));
0 commit comments