-created excpetion framework
-implement exceptions