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 46190 Details for
Bug 150429
DiagramIOUtil provides bad status message
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch for DiagarmIOUtil in diagram.ui.resources.editor
diagramioutilstatus.txt (text/plain), 1.58 KB, created by
Wayne
on 2006-07-12 14:53:35 EDT
(
hide
)
Description:
Patch for DiagarmIOUtil in diagram.ui.resources.editor
Filename:
MIME Type:
Creator:
Wayne
Created:
2006-07-12 14:53:35 EDT
Size:
1.58 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.gmf.runtime.diagram.ui.resources.editor >Index: src/org/eclipse/gmf/runtime/diagram/ui/resources/editor/internal/util/DiagramIOUtil.java >=================================================================== >RCS file: /home/technology/org.eclipse.gmf/plugins/org.eclipse.gmf.runtime.diagram.ui.resources.editor/src/org/eclipse/gmf/runtime/diagram/ui/resources/editor/internal/util/DiagramIOUtil.java,v >retrieving revision 1.8 >diff -u -r1.8 DiagramIOUtil.java >--- src/org/eclipse/gmf/runtime/diagram/ui/resources/editor/internal/util/DiagramIOUtil.java 13 Apr 2006 20:19:11 -0000 1.8 >+++ src/org/eclipse/gmf/runtime/diagram/ui/resources/editor/internal/util/DiagramIOUtil.java 12 Jul 2006 18:54:16 -0000 >@@ -192,8 +192,13 @@ > CoreException thrownExcp = null; > if(e instanceof CoreException) { > thrownExcp = (CoreException)e; >- } else >- thrownExcp = new CoreException(new Status(IStatus.ERROR, EditorPlugin.getPluginId(), EditorStatusCodes.ERROR, e.getMessage(), e)); >+ } else { >+ String exceptionMessage = e.getLocalizedMessage(); >+ thrownExcp = new CoreException(new Status(IStatus.ERROR, >+ EditorPlugin.getPluginId(), EditorStatusCodes.ERROR, >+ exceptionMessage != null ? exceptionMessage >+ : "load(IFile, boolean)", e)); //$NON-NLS-1$ >+ } > Trace.throwing(EditorPlugin.getInstance(), EditorDebugOptions.EXCEPTIONS_THROWING, DiagramIOUtil.class, "load(IFile, boolean)", thrownExcp); //$NON-NLS-1$ > throw thrownExcp; > }
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 150429
: 46190