Now has both generic and specific exception. Updated examples to illustrate this.