public function __construct($msg = "Action not found") { parent::__construct(); $this->setMessage($msg); $this->setSeverity(api_exception::THROW_FATAL); }
/** * Constructor. * * @param $msg string: User message. */ public function __construct($msg = 'No View Found!') { parent::__construct(); $this->setMessage($msg); $this->setSeverity(api_exception::THROW_FATAL); }
public function __construct($code, $message) { parent::__construct(self::THROW_FATAL, array(), $code, $message); }