Extract string in exception message in DynamoCore

@ke-yu I extracted all the exception message in DynamoCore and also Updated DSMsOffice as your feedback.