Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Live validation and MSLActionAbandonedException
Live validation and MSLActionAbandonedException [message #562641] Tue, 10 January 2006 04:14
Dave Carlson is currently offline Dave CarlsonFriend
Messages: 402
Registered: July 2009
Senior Member
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: Thu Oct 06 21:19:51 GMT 2022

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

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

Back to the top