]> dev.renevier.net Git - syj.git/blob - application/exception/InvalidEmail.php
build process raise an exception when install file contains an invalide filename
[syj.git] / application / exception / InvalidEmail.php
1 <?php
2 /*  This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
3     and is published under the AGPL license. */
4
5 class Syj_Exception_InvalidEmail extends Syj_Exception_Request
6 {
7      protected $_message = 'invalidemail';
8
9      // Redefine the exception so message isn't optional
10      public function __construct($msg = '', $code = 0, Exception $previous = null) {
11         parent::__construct($msg ?: $this->_message, $code, $previous);
12      }
13
14 }