EIdCanNotCreateMessagePart is an EIdMessageException descendant used to identify an error in the constructor for a TIdMessagePart instance. This exception generally indicates that the constructor has been called with the abstract base class TIdMessagePart instead of a TIdText or TIdAttachment descendant.