Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gmf-dev] [EMFT - API CHANGE] Bugzilla 125628: Unhelpful Statics in OclEnginePlugin


Description:
In order to support deployment of the OCL parser/interpreter in non-Eclipse environments ("stand-alone mode"), some dependencies on the Eclipse Platform APIs were removed or made optional.

Mostly these were internal changes only.  The single API-affecting change is in the OCLParsingException class, which no longer extends CoreException, but only Exception.  This can affect clients in two ways:

  - occurrences of "catch (CoreException e)" will no longer catch OCLParsingExceptions, so
    clients may have to add new catch clauses
  - OCLParsingExceptions no longer have IStatuses

New API Availability:
In next EMFT build.

Old API Removal:
In next EMFT build.

Tracking:                        
Bugzilla 125628

Clients Taken Care of:        
No dependencies on CoreException-ness of OCLParsingException found in GMF.

Other Clients' Action:
Replace usage of OCLParsingException.getStatus() with OCLParsingException.getLocalizedMessage().
Add catch clauses for OCLParsingException where previously it was caught as a CoreException.

Back to the top