We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69be9bd commit 7de1fbdCopy full SHA for 7de1fbd
mps-model-adapters/src/main/kotlin/org/modelix/model/mpsadapters/MPSLanguageRepository.kt
@@ -31,7 +31,7 @@ class MPSLanguageRepository(private val repository: SRepository) : ILanguageRepo
31
32
val conceptId = try {
33
SConceptId.deserialize(uid.substring(4))
34
- } catch (e: Exception) { return null } ?: return null
+ } catch (e: NumberFormatException) { return null } ?: return null // in case the id cannot be parsed
35
36
val conceptDescriptor = ConceptRegistry.getInstance().getConceptDescriptor(conceptId)
37
0 commit comments