Fine grained exceptions handling.