Commit b24828e9 authored by Faezeh KHORRAM's avatar Faezeh KHORRAM 💬
Browse files

catch exception

parent f1be603b
......@@ -166,8 +166,12 @@ class ModelEObjectCreator {
}catch(IllegalArgumentException e){
println("New value cannot be set for the " + feature.name + " property of the MUT")
}catch(NullPointerException e){
object.eSet(feature, value)
try{
object.eSet(feature, value)
}
catch(IllegalStateException e2){
e2.printStackTrace
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment