Added exceptions
0.3.0