Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Live validation and MSLActionAbandonedException
Live validation and MSLActionAbandonedException [message #562641] Mon, 09 January 2006 23:14
Eclipse UserFriend
Hi,

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
Previous Topic:[Announce] New EMFT Subproject: Transaction
Next Topic:Would like to get started: where do I get information
Goto Forum:
  


Current Time: Tue Jul 15 15:13:49 EDT 2025

Powered by FUDForum. Page generated in 0.02652 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top