public static function detachedDocumentFound($className, $id, $assocName)
{
return new self("Found a detached or new document at property " . $className . "::" . $assocName . " of document with ID " . $id . ", " . "but the assocation is not marked as cascade persist.");
}