Extract string in exception message in DynamoCore

@ke-yu I extracted all the exception message in DynamoCore and also Updated DSMsOffice as your feedback.
Looks the string is incorrect. Why we used "+" in original code? Because it is too long to keep the whole string in a line. For resource value, it doesn't make sense to have "+" here, and you don't need to put them in "".