Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Ecore Tools » Modelling exceptions /w emf(Howto model exceptions)
Modelling exceptions /w emf [message #674377] Thu, 26 May 2011 17:07
Peter Parker is currently offline Peter ParkerFriend
Messages: 1
Registered: May 2011
Junior Member
Hey everyone!

I am currently working on a software model via EMF. Everythings fine but exceptions. I want to create my own ones. After searching through web, i was not able to find a better solution than this:

"EMF won't generate exception classes. You'll need to use an EDataType
to wrap an exiting exception class or one you've written by hand, in
which case you're responsible for deriving from some existing exception
class such as Throwable."

Cant I just derive my own exceptions from java.lang.Exception? And if so, how do I do it?

Cheers and thanks in advance.
Previous Topic:Ecore models for download
Next Topic:"Manually" setting xsi-type
Goto Forum:
  


Current Time: Sat Nov 11 09:12:42 GMT 2023

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

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

Back to the top