Example #1
0
 /**
  * Create from translatable exception.
  * 
  * @return self
  */
 public static function exc(Exception $exc)
 {
     return new self($exc->getMsgId(), $exc->getMsgParams(), $exc->getMsgDomain());
 }