[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r430 - trunk/tools/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r430 - trunk/tools/include |
Date: |
Mon, 1 Oct 2012 23:10:09 +0200 (CEST) |
Author: danydb
Date: 2012-10-01 23:10:09 +0200 (Mon, 01 Oct 2012)
New Revision: 430
Modified:
trunk/tools/include/class_tool_exercice.php
Log:
throw an exception instead of a negative return
Modified: trunk/tools/include/class_tool_exercice.php
===================================================================
--- trunk/tools/include/class_tool_exercice.php 2012-10-01 21:09:46 UTC (rev
429)
+++ trunk/tools/include/class_tool_exercice.php 2012-10-01 21:10:09 UTC (rev
430)
@@ -86,8 +86,7 @@
}
catch (Exception $e)
{
- alert($e->getMessage());
- return -1;
+ throw new Exception($e->getMessage());
}
$this->cn->start();
try
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r430 - trunk/tools/include,
phpcompta-dev <=