Subversion Repositories eFlore/Applications.cel

Rev

Rev 1765 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1765 Rev 1912
Line 87... Line 87...
87
			$resultat = $this->exec($requete);
87
			$resultat = $this->exec($requete);
88
			if ($resultat === false) {
88
			if ($resultat === false) {
89
				$this->debug[] = "La requête a échoué : $requete";
89
				$this->debug[] = "La requête a échoué : $requete";
90
			}
90
			}
91
		} catch (PDOException $e) {
91
		} catch (PDOException $e) {
92
			$this->debug[] = sprintf($this->getTxt('sql_erreur_requete'), $e->getFile(), $e->getLine(), $e->getMessage(), $requete);
92
			$message = "Fichier : {$e->getFile()} \nLigne : {$e->getLine()} \nMessage : {$e->getMessage()} \nRequête : $requete";
-
 
93
			$code = E_USER_ERROR;
-
 
94
			throw new Exception($message, $code);
93
		}
95
		}
94
		return $resultat;
96
		return $resultat;
95
	}
97
	}
Line 96... Line 98...
96
 
98