Corrections diverses
[zf2.biz/galerie.git] / vendor / zf2biz / Custom / Model / EntityManager.php
index 62fc9e9..de9806c 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;
     }
@@ -104,7 +104,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}'");
         }
     }