Throwing an exception incase the template service couldnt register template.

This commit is contained in:
Rajani Karuturi 2015-04-27 15:00:35 +05:30
parent 75ae90b073
commit faaa1365a3
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ public class TemplateManagerImpl extends ManagerBase implements TemplateManager,
return response;
} else {
return null;
throw new CloudRuntimeException("Unable to register template.");
}
}