Subversion Repositories Applications.framework

Rev

Rev 304 | Rev 367 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 304 Rev 366
Line 9... Line 9...
9
 * @author		Aurélien PERONNET <aurelien@tela-botanica.org>
9
 * @author		Aurélien PERONNET <aurelien@tela-botanica.org>
10
 * @author		Jean-Pascal MILCENT <jmp@tela-botanica.org>
10
 * @author		Jean-Pascal MILCENT <jmp@tela-botanica.org>
11
 * @copyright	Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)
11
 * @copyright	Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)
12
 * @license	http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
12
 * @license	http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
13
 * @license	http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
13
 * @license	http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
14
 * @version	$Id: GestionnaireException.php 274 2010-12-28 15:37:22Z jpm $$
14
 * @version	$Id: GestionnaireException.php 366 2011-09-30 08:20:45Z jpm $$
15
 * @link		/doc/framework/
15
 * @link		/doc/framework/
16
 *
16
 *
17
 */
17
 */
18
class GestionnaireException {
18
class GestionnaireException {
Line 181... Line 181...
181
	}
181
	}
Line 182... Line 182...
182
	
182
	
183
	/**
183
	/**
184
	 * Formate en texte une exception passée en paramètre.
184
	 * Formate en texte une exception passée en paramètre.
-
 
185
	 * @since 0.3
-
 
186
	 * @param Exception l'exception à formater.
-
 
187
	 */
-
 
188
	public static function formaterExceptionDebug(Exception $e) {
-
 
189
		return $e->getMessage();
-
 
190
	}
-
 
191
	
-
 
192
	/**
-
 
193
	 * Formate en texte une exception passée en paramètre.
185
	 * @since 0.3
194
	 * @since 0.3
186
	 * @param Exception l'exception à formater.
195
	 * @param Exception l'exception à formater.
187
	 */
196
	 */
188
	public static function formaterExceptionTxt(Exception $e) {
197
	public static function formaterExceptionTxt(Exception $e) {
189
		$message = '';
198
		$message = '';