Added custom exception demo

Change-Id: I89f6ecca8fa5456775f245cc79a9903bf52f3f21