Subversion Repositories Applications.framework

Compare Revisions

Ignore whitespace Rev 365 → Rev 369

/trunk/framework/GestionnaireException.php
189,7 → 189,13
* @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;
}
/**