@@ -60,7 +60,7 @@ public JsonResult Create(MeaningModel data)
6060 }
6161 catch ( Exception ex )
6262 {
63- throw new Exception ( "Meaning was not generated ." , ex ) ;
63+ throw new Exception ( "Meaning was not created ." , ex ) ;
6464 }
6565 }
6666
@@ -78,7 +78,7 @@ public JsonResult Update(MeaningModel data)
7878 }
7979 catch ( Exception ex )
8080 {
81- throw new Exception ( "Meaning was not generated ." , ex ) ;
81+ throw new Exception ( "Meaning was not changed ." , ex ) ;
8282 }
8383 }
8484
@@ -97,7 +97,7 @@ public JsonResult Delete(long id)
9797 }
9898 catch ( Exception ex )
9999 {
100- throw new Exception ( "Meaning was not generated ." , ex ) ;
100+ throw new Exception ( "Meaning was not deleted. Please check if the meaning is still linked to e.g. to a variable template ." , ex ) ;
101101 }
102102 }
103103
@@ -159,7 +159,7 @@ public JsonResult CreateLink(ExternalLinkModel data)
159159 }
160160 catch ( Exception ex )
161161 {
162- throw new Exception ( "External link was not generated ." , ex ) ;
162+ throw new Exception ( "External link was not created ." , ex ) ;
163163 }
164164 }
165165
@@ -179,7 +179,7 @@ public JsonResult UpdateExternalLink(ExternalLinkModel data)
179179 }
180180 catch ( Exception ex )
181181 {
182- throw new Exception ( "External link was not generated ." , ex ) ;
182+ throw new Exception ( "External link was not changed ." , ex ) ;
183183 }
184184 }
185185
@@ -198,7 +198,7 @@ public JsonResult DeleteLink(long id)
198198 }
199199 catch ( Exception ex )
200200 {
201- throw new Exception ( "External link was not generated ." , ex ) ;
201+ throw new Exception ( "External link was not deleted ." , ex ) ;
202202 }
203203 }
204204
@@ -233,7 +233,7 @@ public JsonResult createPrefixCategory(PrefixCategory data)
233233 }
234234 catch ( Exception ex )
235235 {
236- throw new Exception ( "External link was not generated ." , ex ) ;
236+ throw new Exception ( "Prefix Category was not created ." , ex ) ;
237237 }
238238 }
239239
@@ -253,7 +253,7 @@ public JsonResult UpdatePrefixCategory(PrefixCategory data)
253253 }
254254 catch ( Exception ex )
255255 {
256- throw new Exception ( "External link was not generated ." , ex ) ;
256+ throw new Exception ( "Prefix Category was not changed ." , ex ) ;
257257 }
258258 }
259259
@@ -273,10 +273,11 @@ public JsonResult DeletePrefixCategory(long id)
273273 }
274274 catch ( Exception ex )
275275 {
276- throw new Exception ( "External link was not generated ." , ex ) ;
276+ throw new Exception ( "Prefix Category was not deleted ." , ex ) ;
277277 }
278278 }
279279
280280 #endregion category prefix
281281 }
282- }
282+
283+ }
0 commit comments