/branches/v0.3-aleaume/framework/GestionnaireException.php |
---|
185,6 → 185,15 |
* @since 0.3 |
* @param Exception l'exception à formater. |
*/ |
public static function formaterExceptionDebug(Exception $e) { |
return $e->getMessage(); |
} |
/** |
* Formate en texte une exception passée en paramètre. |
* @since 0.3 |
* @param Exception l'exception à formater. |
*/ |
public static function formaterExceptionTxt(Exception $e) { |
$message = ''; |
$message .= $e->getMessage()."\n"; |