/** * construct * * @param string $_message * @param integer $_code * @return void */ public function __construct($_message = "You tried to create a relation which is forbidden by the constraints config of one of the models.", $_code = 912) { // _("You tried to create a relation which is forbidden by the constraints config of one of the models.") parent::__construct($_message, $_code); }
/** * the constructor * * @param string $_message * @param int $_code (default: 503 Service Unavailable) */ public function __construct($_message, $_code = 503) { parent::__construct($_message, $_code); }
public function __construct($_message = 'Installation is in maintenance mode. Please try again later', $_code = 503) { parent::__construct($_message, $_code); }