Exception framwork integration

Exception framework integration and more exceptions added to framework