|Modelling exceptions /w emf [message #674377]
||Thu, 26 May 2011 17:07
| Peter Parker
Registered: May 2011
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.
Powered by FUDForum
. Page generated in 0.05040 seconds