Passing the message to `checkArgument` would be enough, no need to create the 
exception.  Something like:

```
checkArgument(!stackServices.isEmpty(),
  "Specified configuration type is not associated with any service in the 
blueprint: %s",
  type));
```

[ Full content available at: https://github.com/apache/ambari/pull/2355 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to