Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » ExecutionException
ExecutionException [message #181770] Sun, 22 October 2006 16:34
Eclipse UserFriend
Originally posted by:


I'm trying to understand the usage patterns of
org.eclipse.core.commands.ExecutionException in WTP

What bothers me is that this exception is declared to be thrown by most of
the methods of IUndoableOperation and thus appears in
org.eclipse.wst.common.frameworks.datamodel.IDataModelOperat ion which is
the base interface for all WTP commands. In the same time the operations
in IDataModelOperation return an IStatus object, which can also contain
and exception cause.

So my question is when a IStatus object containing the cause exception
should be returned and when an ExecutionException should be thrown?

So far the only difference that I have seen regarding handling is that in
the case of exception a dialog saying "Unexpected Exception" appears while
if an IStatus is returned the dialog displays the message from

Previous Topic:provisionaldefinition
Next Topic:JDT Library support in WTP
Goto Forum:

Current Time: Fri Jun 25 08:17:27 GMT 2021

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

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

Back to the top