Alternate e697dbe9c5997e35395fe158628dd8c5209481da
for Visual Studio 2022 and Windows 11.
読み取り中…
検索中…
一致する文字列を見つけられません
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
15namespace alt
16{
17 namespace ex
18 {
22 {
23 public:
25 APIENTRY Exception ();
26
28 APIENTRY ~Exception ();
29
32 LPCTSTR APIENTRY GetReason () const;
33 };
34
38 {
39 public:
41 APIENTRY InvalidArgumentException ();
42
44 APIENTRY ~InvalidArgumentException ();
45
48 LPCTSTR APIENTRY GetReason () const;
49 };
50
54 {
55 public:
57 APIENTRY RuntimeException ();
58
60 APIENTRY ~RuntimeException ();
61
64 LPCTSTR APIENTRY GetReason () const;
65 };
66 }
67}
#define DLL_DECLSPEC
Definition: framework.h:17
WindowsAPIを集約したプロジェクトファイル
プロジェクト共通基底クラス
基底となる例外クラス
Definition: Exception.h:22
実行時エラー例外
Definition: Exception.h:54
Definition: DBLibrary.h:12