|Live validation and MSLActionAbandonedException [message #562641]
||Tue, 10 January 2006 04:14
| Dave Carlson
Registered: July 2009
I've defined one "Live" validation constraint in my simple UML editor based
on the validation tutorial examples. However, when the validation
constraint is violated while editing (test for empty "name" of a UML element
in my example) I get the MSLActionAbandonedException runtime exception that
results in a stack trace.
How are these supposed to be handled? Based on the validation preference
settings to open an error dialog for Live constraints, I expected this to be
caught and handled by the framework. I can't catch
MSLActionAbandonedException in my code because the compiler says it's not
thown by the try block. How do I handle these live validation exceptions?
Thanks. The EMF validation framework is a great contribution!
-- Dave Carlson
Powered by FUDForum
. Page generated in 0.01935 seconds