Rest api StratosApiV41Utils.java Refactor

This PR contains the followings.

1. Add the String.format for error message handling.
2. Add method doc comment.