improved exception handling
bumped version
Merge branch 'release/0.4.2' into develop