Subversion Repositories Applications.framework

Compare Revisions

Regard whitespace Rev 368 → Rev 369

/trunk/framework/GestionnaireException.php
189,8 → 189,14
* @param Exception l'exception à formater.
*/
public static function formaterExceptionDebug(Exception $e) {
return $e->getMessage();
$txt = '';
if ($e->getSeverity() == E_USER_NOTICE) {
$txt = $e->getMessage();
} else {
$txt = self::formaterExceptionTxt($e);
}
return $txt;
}
/**
* Formate en texte une exception passée en paramètre.