Extract string in exception message in DynamoCore

@ke-yu I extracted all the exception message in DynamoCore and also Updated DSMsOffice as your feedback.
@ke-yu they are the same. I checked inside Visual Studio. May be the arrangement in codes look a bit different but the data is similar. No worries about this matter