From 74418bced5e63b307268747b164f5a0a0d188a3f Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Wed, 4 Dec 2024 13:48:12 +0100 Subject: [PATCH] surround LanguageRuntime#getAspect calls with try-catch statements --- .../com.mbeddr.doc.aspect.runtime.msd | 1 + .../models/com/mbeddr/doc/aspect/runtime.mps | 77 +++++++++++++++++-- .../com.mbeddr.doc.aspect.ui.msd | 1 + .../com/mbeddr/doc/aspect/ui/plugin.mps | 61 +++++++++++++-- 4 files changed, 124 insertions(+), 16 deletions(-) diff --git a/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.runtime/com.mbeddr.doc.aspect.runtime.msd b/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.runtime/com.mbeddr.doc.aspect.runtime.msd index ec949cfbc2a..0b17156684c 100644 --- a/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.runtime/com.mbeddr.doc.aspect.runtime.msd +++ b/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.runtime/com.mbeddr.doc.aspect.runtime.msd @@ -25,6 +25,7 @@ + diff --git a/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.runtime/models/com/mbeddr/doc/aspect/runtime.mps b/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.runtime/models/com/mbeddr/doc/aspect/runtime.mps index cfda7258666..0015e8dfbf0 100644 --- a/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.runtime/models/com/mbeddr/doc/aspect/runtime.mps +++ b/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.runtime/models/com/mbeddr/doc/aspect/runtime.mps @@ -8,6 +8,7 @@ + @@ -58,6 +59,9 @@ + + + @@ -82,6 +86,10 @@ + + + + @@ -142,6 +150,7 @@ + @@ -180,6 +189,10 @@ + + + + @@ -187,6 +200,10 @@ + + + + @@ -243,6 +260,13 @@ + + + + + + + @@ -1750,18 +1774,55 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + diff --git a/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.ui/com.mbeddr.doc.aspect.ui.msd b/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.ui/com.mbeddr.doc.aspect.ui.msd index 937941db7f5..cd0232cec17 100644 --- a/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.ui/com.mbeddr.doc.aspect.ui.msd +++ b/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.ui/com.mbeddr.doc.aspect.ui.msd @@ -33,6 +33,7 @@ + diff --git a/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.ui/models/com/mbeddr/doc/aspect/ui/plugin.mps b/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.ui/models/com/mbeddr/doc/aspect/ui/plugin.mps index 95aac6a7db2..5be41bb7563 100644 --- a/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.ui/models/com/mbeddr/doc/aspect/ui/plugin.mps +++ b/code/languages/com.mbeddr.doc.aspect/solutions/com.mbeddr.doc.aspect.ui/models/com/mbeddr/doc/aspect/ui/plugin.mps @@ -18,6 +18,7 @@ + @@ -397,6 +398,13 @@ + + + + + + + @@ -2356,18 +2364,55 @@ - - - - + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +