Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 103661 Details for
Bug 235479
OperationCanceledException when opening task
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
throw core exception when cancelled
clipboard.txt (text/plain), 1.12 KB, created by
Robert Elves
on 2008-06-04 18:00:00 EDT
(
hide
)
Description:
throw core exception when cancelled
Filename:
MIME Type:
Creator:
Robert Elves
Created:
2008-06-04 18:00:00 EDT
Size:
1.12 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.mylyn.tasks.core >Index: src/org/eclipse/mylyn/internal/tasks/core/TaskList.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskList.java,v >retrieving revision 1.36 >diff -u -r1.36 TaskList.java >--- src/org/eclipse/mylyn/internal/tasks/core/TaskList.java 3 Jun 2008 04:48:55 -0000 1.36 >+++ src/org/eclipse/mylyn/internal/tasks/core/TaskList.java 4 Jun 2008 21:57:21 -0000 >@@ -40,6 +40,8 @@ > */ > public class TaskList implements ITaskList { > >+ private static final String TASK_LIST_OPERATION_CANCELLED = "Task List operation cancelled"; >+ > private static String DEFAULT_HANDLE_PREFIX = "handle-"; > > private static ILock lock = Job.getJobManager().newLock(); >@@ -616,7 +618,9 @@ > lock(monitor); > > runnable.execute(monitor); >- >+ } catch (OperationCanceledException e) { >+ throw new CoreException(new Status(IStatus.CANCEL, ITasksCoreConstants.ID_PLUGIN, >+ TASK_LIST_OPERATION_CANCELLED)); > } finally { > unlock(); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235479
: 103661 |
158369
|
158370
|
159121