public function error($message) { $this->log($message); throw new Exception($this->_type . ': ' . $message); }