For objectLength > FULL_STRING_IN_MESSAGE_THRESHOLD the message should indicate that the value has been truncated by printing "..." after the substring.

Consider refactoring the message formatting -- and possibly the throw -- into a separate method for reuse below.