2 /* This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
3 and is published under the AGPL license. */
5 class Syj_Exception_InvalidEmail extends Syj_Exception_Request
7 protected $_message = 'invalidemail';
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);