Added exception classes
0.5.0