Exception model

Fixes #150