Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » IWorkspaceRoot getFolder()
IWorkspaceRoot getFolder() [message #488608] Tue, 29 September 2009 12:39
Christoph Höger is currently offline Christoph HögerFriend
Messages: 40
Registered: July 2009

I just encountered a strange thing: I accidentally called
IWorkspaceRoot.getFolder() for a path without a valid project being a
prefix. Instead of throwing an exception or doing something else sane,
the enclosing workspace operation was just canceled - no log, no
system.err, nothing. That's bad.

Any ideas how one can fix this (the path is a user input)?


Previous Topic:BooleanCellEditor or CheckboxCellEditor in JFace Snippet 056?
Next Topic:Compare Dialog for you own data structure
Goto Forum:

Current Time: Sun Oct 23 06:38:54 GMT 2016

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

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