Designed and implemented some exception facilities.