Add Exceptions handling and static binding samples