Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Provide getter for thrown object in EolUserException
Provide getter for thrown object in EolUserException [message #1747479] Tue, 15 November 2016 10:30 Go to next message
Sebastian Zitzelsberger is currently offline Sebastian ZitzelsbergerFriend
Messages: 33
Registered: August 2014
Member
Hi Epsilon Team,

I am writing a UnitTest in which i am testing for an exception.
Epsilon seems to catch my exception internally and rethrow it as an EolUserException.
The EolUserException has a thrown Object which contains my orginal Exception, but the thrown object is not accessible as it has a protected scope and there is not getter method.

Therefore i cannot test if my exception was thrown or if there was another cause for the exception.

Could you please add a getter for the thrown object in the EolUserException Class?


Cheers Sebastian
Re: Provide getter for thrown object in EolUserException [message #1747482 is a reply to message #1747479] Tue, 15 November 2016 10:47 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Sebastian,

Done: https://git.eclipse.org/c/epsilon/org.eclipse.epsilon.git/commit/?id=686528657c243016e7a5d5382dd2b74e55f61cef

This should appear in the next interim version as soon as Hudson picks up the change and re-builds (probably within the next hour).

Cheers,
Dimitris

[Updated on: Tue, 15 November 2016 13:59]

Report message to a moderator

Previous Topic:Using 2 labels on a node [GMF editor]
Next Topic:Properties of applied stereotypes in UML model by EOL
Goto Forum:
  


Current Time: Fri Apr 26 11:21:21 GMT 2024

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

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

Back to the top