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öger
Messages: 40
Registered: July 2009
Member
Hi,

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)?

regards

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


Current Time: Thu Oct 23 00:45:02 GMT 2014

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

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