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 142112 Details for
Bug 133911
type.move() returns unclear exception "invalid destination"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch with updated documentation
patch_133911.txt (text/plain), 2.01 KB, created by
Jay Arthanareeswaran
on 2009-07-21 06:28:55 EDT
(
hide
)
Description:
Patch with updated documentation
Filename:
MIME Type:
Creator:
Jay Arthanareeswaran
Created:
2009-07-21 06:28:55 EDT
Size:
2.01 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/core/IJavaModel.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/IJavaModel.java,v >retrieving revision 1.28 >diff -u -r1.28 IJavaModel.java >--- model/org/eclipse/jdt/core/IJavaModel.java 27 Jun 2008 16:04:01 -0000 1.28 >+++ model/org/eclipse/jdt/core/IJavaModel.java 21 Jul 2009 10:28:26 -0000 >@@ -89,7 +89,12 @@ > * <li> There is no element to process (NO_ELEMENTS_TO_PROCESS). The given elements is null or empty</li> > * <li> A specified element, container, or sibling does not exist (ELEMENT_DOES_NOT_EXIST)</li> > * <li> A <code>CoreException</code> occurred while updating an underlying resource</li> >- * <li> A container is of an incompatible type (<code>INVALID_DESTINATION</code>)</li> >+ * <li> INVALID_DESTINATION - A destination container specified is of an incompatible type. >+ * The destination for a package fragment must be a package fragment root; the >+ * destination for a compilation unit must be a package fragment; the destination for >+ * a package declaration or import declaration must be a compilation unit; the >+ * destination for a type must be a type or compilation unit; the destination for any >+ * type member (other than a type) must be a type.</li> > * <li> A sibling is not a child of it associated container (<code>INVALID_SIBLING</code>)</li> > * <li> A new name is invalid (<code>INVALID_NAME</code>)</li> > * <li> A child in its associated container already exists with the same >@@ -201,6 +206,8 @@ > * </ul> > * > * @exception IllegalArgumentException any element or container is <code>null</code> >+ * @see IJavaModel#copy(IJavaElement[], IJavaElement[], IJavaElement[], String[], boolean, IProgressMonitor) >+ * > */ > void move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean replace, IProgressMonitor monitor) throws JavaModelException; >
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 133911
:
142112
|
142347