Do you really want this IllegalStateException to be catught and wrapped in the IllegalStateException two lines below? It depends what the outer caught exception was as to whether "Unable to access cloud" is accurate. The "Unable to match required VM template constraints" is presumably always accurate.

Perhaps move this throws down a few lines to outside the try-catch.