Add exception handling doc

Adding  basic exception handling guideline to the HACKING.rst

Change-Id: I6c3bb2f5a7f7b8947193a005fc2fffe57ae0f0ba
Merge "Add exception handling doc"