YSTest: yexcept.cpp 源文件

YSTest PreAlpha_b400_20130424 The YSLib Test Project

- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件

- 文件列表
- 文件成员

全部 类 命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 组 页
yexcept.cpp
浏览该文件的文档.
1 ﻿/*
2 Copyright (C) by Franksoft 2010 - 2011.
3
4 This file is part of the YSLib project, and may only be used,
5 modified, and distributed under the terms of the YSLib project
6 license, LICENSE.TXT. By continuing to use, modify, or distribute
7 this file you indicate that you have read the license and
8 understand and accept it fully.
9 */
10
28 #include "YSLib/Core/yexcept.h"
29
30 YSL_BEGIN
31
32 LoggedEvent::LoggedEvent(const std::string& s, LevelType l) ynothrow
33 : GeneralEvent(s),
34 level(l)
35 {}
36 LoggedEvent::LoggedEvent(const GeneralEvent& e, LevelType l) ynothrow
37 : GeneralEvent(e),
38 level(l)
39 {}
40
41
42 FatalError::FatalError(const char* t, const char* c) ynothrow
43 : GeneralEvent(t), content(c)
44 {}
45
46 YSL_END
47