public function throwError() { $msg = call_user_func_array('sprintf', func_get_args()); $_msg = sprintf("%s, from annotation: `%s`, class: `%s` file: `%s` ", $msg, $this->getMeteTypeName(), $this->admin_object->class_name, $this->admin_object->getFileName()); if ($this->_chain_exception) { throw new \Exception($_msg, __LINE__, $this->_chain_exception); } else { throw new \Exception($_msg); } }