Please have a look to the current code base for exception handling