Add ability to try-catch exceptions in MuranoPL

Registered by Stan Lagun on 2014-05-27

Add language construct to MuranoPL that is semantically equivalent of Python's try-catch-finally-else. Add number of general purposed exception types and define their hierarchy. It must be possible to define new exception types. Exception handling needs to be flexible with ability to catch only desired exception types. Unhandled exceptions must cause execution stack unwind (as in Python, Java and other languages) and can be caught in outer scope

Blueprint information

Status:
Complete
Approver:
Ruslan Kamaldinov
Priority:
High
Drafter:
Stan Lagun
Direction:
Approved
Assignee:
Stan Lagun
Definition:
Approved
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 2014.2
Started by
Stan Lagun on 2014-06-04
Completed by
Ruslan Kamaldinov on 2014-06-12

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/muranopl-exception-handling,n,z

Addressed by: https://review.openstack.org/98984
    Adds ability to throw/catch/rethrow exceptions in MuranoPL

Addressed by: https://review.openstack.org/97943
    Maintain virtual MuranoPL stack trace

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.