public interface ICModelStatus
CModelException objects to indicate what went
wrong.
C model status object are distinguished by their plug-in id:
getPlugin returns "org.eclipse.cdt.core".
getCode returns one of the status codes declared in
ICModelStatusConstants.
A C model status may also carry additional information (that is, in
addition to the information defined in IStatus):
org.eclipse.core.runtime.IStatus,
ICModelStatusConstants| Modifier and Type | Method and Description |
|---|---|
boolean |
doesNotExist()
Returns whether this status indicates that a C model element does not exist.
|
ICElement[] |
getElements()
Returns any C elements associated with the failure (see specification
of the status code), or an empty array if no elements are related to this
particular status code.
|
IPath |
getPath()
Returns the path associated with the failure (see specification
of the status code), or
null if the failure is not
one of DEVICE_PATH, INVALID_PATH,
PATH_OUTSIDE_PROJECT, or RELATIVE_PATH. |
java.lang.String |
getString()
Returns the string associated with the failure (see specification
of the status code), or
null if no string is related to this
particular status code. |
ICElement[] getElements()
ICModelStatusConstantsIPath getPath()
null if the failure is not
one of DEVICE_PATH, INVALID_PATH,
PATH_OUTSIDE_PROJECT, or RELATIVE_PATH.null if noneICModelStatusConstants.DEVICE_PATH,
ICModelStatusConstants.INVALID_PATH,
ICModelStatusConstants.PATH_OUTSIDE_PROJECT,
ICModelStatusConstants.RELATIVE_PATHjava.lang.String getString()
null if no string is related to this
particular status code.null if noneICModelStatusConstantsboolean doesNotExist()
getCode() == ICModelStatusConstants.ELEMENT_DOES_NOT_EXIST.true if the status code indicates that a C model
element does not existICModelStatusConstants.ELEMENT_DOES_NOT_EXISTCopyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.