exception handling features implemented