Antenna House PDF Tool API (C++) 8.0
PtlException.h
1
2// PtlException.h
3// Copyright (C) 2013-2018 Antenna House,Inc.
4// All rights reserved.
6#ifndef PDFTK_PTLEXCEPTION_H_
7#define PDFTK_PTLEXCEPTION_H_
8
9#include "PdfTkBase.h"
10
11namespace PdfTk {
12
13class PtlParamString;
14
19
20class PDFTK_API PtlException
21{
22private:
23 int m_dataException;
24public:
25 int getHandle() const;
26
27public:
34 PtlException(int errorCode);
35
41 PtlException(int errorCode, PtlParamString& errorMsg);
42
48
53
54public:
60
61public:
66 int getErrorCode() const;
67
68public:
74
80};
81
82} // namespace PdfTk
83
84#endif // PDFTK_PTLEXCEPTION_H_
const PtlParamString & getErrorMessage() const
エラーメッセージを取得。
const PtlParamString & getErrorMessageJP() const
エラーメッセージ(日本語)を取得。
PtlException(const PtlException &obj)
コピーコンストラクタ
PtlException & operator=(const PtlException &obj)
コピーオペレータ
PtlException(int errorCode, PtlParamString &errorMsg)
コンストラクタ
PtlException(int errorCode)
コンストラクタ
~PtlException()
デストラクタ
int getErrorCode() const
エラーコードを取得。