PDFTool  7.0
PtlException.h
1 // 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 
11 namespace PdfTk {
12 
13 class PtlParamString;
14 
20 class PDFTK_API PtlException
21 {
22 private:
23  int m_dataException;
24 public:
25  int getHandle() const;
26 
27 public:
34  PtlException(int errorCode);
35 
41  PtlException(int errorCode, PtlParamString& errorMsg);
42 
48 
53 
54 public:
60 
61 public:
66  int getErrorCode() const;
67 
68 public:
74 
80 };
81 
82 } // namespace PdfTk
83 
84 #endif // PDFTK_PTLEXCEPTION_H_
PdfTk::PtlException
PDF Tool APIの例外クラスです。 例外が発生した場合に使用します。
Definition: PtlException.h:21
PdfTk::PtlException::PtlException
PtlException(const PtlException &obj)
コピーコンストラクタ
PdfTk::PtlException::getErrorMessage
const PtlParamString & getErrorMessage() const
エラーメッセージを取得。
PdfTk::PtlException::getErrorMessageJP
const PtlParamString & getErrorMessageJP() const
エラーメッセージ(日本語)を取得。
PdfTk::PtlException::PtlException
PtlException(int errorCode, PtlParamString &errorMsg)
コンストラクタ
PdfTk::PtlException::operator=
PtlException & operator=(const PtlException &obj)
コピーオペレータ
PdfTk::PtlParamString
文字列を扱うクラスです。
Definition: PtlParamString.h:27
PdfTk::PtlException::PtlException
PtlException(int errorCode)
コンストラクタ
PdfTk::PtlException::‾PtlException
‾PtlException()
デストラクタ
PdfTk::PtlException::getErrorCode
int getErrorCode() const
エラーコードを取得。