exception.cc

来自「c语言编写的xml解析器可以方便的遍历插入删除节点等操作的」· CC 代码 · 共 30 行

CC
30
字号
#include "exception.h"namespace xmlpp {  exception::exception(const std::string& message): message_(message){}exception::~exception() throw(){}const char* exception::what() const throw(){  return message_.c_str();}void exception::Raise() const{  throw *this;}exception * exception::Clone() const{  return new exception(*this);}} //namespace xmlpp

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?