Interface IJavaModelStatus

  • All Superinterfaces:
    IStatus

    public interface IJavaModelStatus
    extends IStatus
    Represents the outcome of an Java model operation. Status objects are used inside JavaModelException objects to indicate what went wrong.

    Java model status object are distinguished by their plug-in id: getPlugin returns "org.eclipse.jdt.core". getCode returns one of the status codes declared in IJavaModelStatusConstants.

    A Java model status may also carry additional information (that is, in addition to the information defined in IStatus):

    • elements - optional handles to Java elements associated with the failure
    • string - optional string associated with the failure
    See Also:
    IStatus, IJavaModelStatusConstants
    Restriction:
    This interface is not intended to be implemented by clients.