Alternate
e697dbe9c5997e35395fe158628dd8c5209481da
for Visual Studio 2022 and Windows 11.
Toggle main menu visibility
総合概要
諸情報
名前空間
名前空間一覧
名前空間メンバ
全て
_
a
b
c
f
g
i
l
n
o
p
s
t
w
関数
_
c
g
o
p
s
t
変数
型定義
列挙型
列挙値
クラス
クラス一覧
クラス索引
クラス階層
クラスメンバ
全て
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
関数
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
~
変数
_
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
x
z
型定義
ファイル
ファイル一覧
ファイルメンバ
全て
_
a
c
d
e
f
g
i
k
l
m
n
o
p
s
t
w
関数
_
d
i
m
o
s
変数
型定義
c
f
p
s
マクロ定義
_
a
c
d
e
f
g
i
k
l
m
n
p
s
t
w
•
全て
クラス
名前空間
ファイル
関数
変数
型定義
列挙型
列挙値
マクロ定義
ページ
読み取り中…
検索中…
一致する文字列を見つけられません
Exception.h
[詳解]
1
// ----------------------------------------------------------------------------
6
7
#pragma once
8
9
#include "
WindowsLibrary.h
"
10
11
#define ALT_REASON_EXCEPTION _T("例外が発生しました。"
)
12
#define ALT_REASON_INVALID_ARGUMENT _T("引数の設定が異常です。"
)
13
#define ALT_REASON_RUNTIME_ERROR _T("実行時にエラーが発生しました。"
)
14
15
namespace
alt
16
{
17
namespace
ex
18
{
21
class
DLL_DECLSPEC
Exception
:
public
WindowsLibrary
22
{
23
public
:
25
APIENTRY
Exception
();
26
28
APIENTRY
~Exception
();
29
32
LPCTSTR APIENTRY GetReason ()
const
;
33
};
34
37
class
DLL_DECLSPEC
InvalidArgumentException
:
Exception
38
{
39
public
:
41
APIENTRY
InvalidArgumentException
();
42
44
APIENTRY
~InvalidArgumentException
();
45
48
LPCTSTR APIENTRY GetReason ()
const
;
49
};
50
53
class
DLL_DECLSPEC
RuntimeException
:
Exception
54
{
55
public
:
57
APIENTRY
RuntimeException
();
58
60
APIENTRY
~RuntimeException
();
61
64
LPCTSTR APIENTRY GetReason ()
const
;
65
};
66
}
67
}
DLL_DECLSPEC
#define DLL_DECLSPEC
Definition:
framework.h:17
WindowsLibrary.h
WindowsAPIを集約したプロジェクトファイル
alt::WindowsLibrary
プロジェクト共通基底クラス
Definition:
WindowsLibrary.h:34
alt::ex::Exception
基底となる例外クラス
Definition:
Exception.h:22
alt::ex::InvalidArgumentException
Definition:
Exception.h:38
alt::ex::RuntimeException
実行時エラー例外
Definition:
Exception.h:54
alt
Definition:
DBLibrary.h:12
WindowsLibrary
Exception.h
構築:
1.9.6