[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [6912] added NoResponseException
From: |
Petur Thorsteinsson |
Subject: |
[Fmsystem-commits] [6912] added NoResponseException |
Date: |
Thu, 03 Feb 2011 19:17:32 +0000 |
Revision: 6912
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6912
Author: peturbjorn
Date: 2011-02-03 19:17:31 +0000 (Thu, 03 Feb 2011)
Log Message:
-----------
added NoResponseException
Modified Paths:
--------------
branches/dev-bim2/property/inc/class.bimExceptions.inc.php
Modified: branches/dev-bim2/property/inc/class.bimExceptions.inc.php
===================================================================
--- branches/dev-bim2/property/inc/class.bimExceptions.inc.php 2011-02-03
19:16:49 UTC (rev 6911)
+++ branches/dev-bim2/property/inc/class.bimExceptions.inc.php 2011-02-03
19:17:31 UTC (rev 6912)
@@ -52,4 +52,13 @@
public function __toString() {
return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
}
+}
+class NoResponseException extends Exception
+{
+ public function __construct($message, Exception $previous = null) {
+ parent::__construct($message, 0, $previous);
+ }
+ public function __toString() {
+ return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
+ }
}
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [6912] added NoResponseException,
Petur Thorsteinsson <=