handle construction exceptions in build method explicitly.