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

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: Sat Aug 23 01:42:26 EDT 2014

Powered by FUDForum. Page generated in 0.02168 seconds