Create generic cloudexception create method
Merge pull request #349 from andrerod/exfix

Create generic cloudexception create method