<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_bundle(self, prov_bundle, identifier):
 """ Verbose method of adding a bundle. Can also be done as: :param prov_bundle: The bundle to be added :param str identifier: URI or QName for this bundle :type prov_bundle: :py:class:`prov.model.ProvDocument` or :py:class:`str` """

        if self.abstract:
            raise AbstractDocumentException()

        self._api.add_bundle(self.id, prov_bundle.serialize(), identifier)