Added exception classes
0.4.0