Merge branch 'master' of ../application-blanche
[zf2.biz/galerie.git] / vendor / zf2biz / Custom / Model / EntityManager.php
index 8566ce2..59f4b9c 100644 (file)
@@ -59,7 +59,7 @@ abstract class EntityManager extends AbstractTableGateway
                 $keys[] = "{$k}: {$v}";
             }
             $keys = implode(', ', $keys);
-            throw new \Exception("cannot get row {{$keys}} in table 'galerie'");
+            throw new \Exception("cannot get row {{$keys}} in table '{$this->table}'");
         }
         return $row;
     }
@@ -105,7 +105,7 @@ abstract class EntityManager extends AbstractTableGateway
                 $keys[] = "{$k}: {$v}";
             }
             $keys = implode(', ', $keys);
-            throw new \Exception("cannot update row {{$keys}} in table 'galerie'");
+            throw new \Exception("cannot update row {{$keys}} in table '{$this->table}'");
         }
     }