Exception handling finished

v.1.0 finished