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 08: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 Jul 24 11:23:09 EDT 2014

Powered by FUDForum. Page generated in 0.01652 seconds