def __init__(self, document_pointer, exists, is_document):
super(InvalidDocumentPointer, self).__init__()<EOL>self._document_pointer = document_pointer<EOL>self._exists = bool(exists)<EOL>self._is_document = bool(is_document)<EOL>
``document_pointer`` is the DocumentPointer object that contains
        the invalid reference.