Task #1044 - Implementation de Test

Replace in class exit by throw new Exception
This commit is contained in:
Dany De Bontridder 2014-11-14 23:11:56 +01:00
parent 518a9090d6
commit 54b6037ede
37 changed files with 95 additions and 104 deletions

View file

@ -183,7 +183,7 @@ class Document_modele
{
echo "<H1>Error</H1>";
$this->cn->rollback();
exit;
throw new Exception("Erreur".__FILE__.__LINE__);
}
}
}
@ -348,7 +348,7 @@ class Document_modele
{
echo "<H1>Error</H1>";
$this->cn->rollback();
exit;
throw new Exception("Erreur".__FILE__.__LINE__);
}
}
}