Generate Exception code argument contructors

Issue 12