cxWidgets
1.0
home
erico
projects
cxWidgets
src
cxWidgetsException.h
Go to the documentation of this file.
1
// Copyright (c) 2026 E. Oulashin
2
#ifndef __CXWIDGETSEXCEPTION_H__
3
#define __CXWIDGETSEXCEPTION_H__
4
5
// Copyright (c) 2005-2007 Michael H. Kinney
6
7
#include <string>
8
9
namespace
cx
{
10
22
class
cxWidgetsException
23
{
24
public
:
30
explicit
cxWidgetsException
(
const
std::string& pErrorMsg =
""
);
31
32
virtual
~cxWidgetsException
();
33
39
const
std::string&
getErrorMsg
()
const
;
40
48
virtual
std::string
cxTypeStr
()
const
;
49
50
private
:
51
std::string mErrorMsg;
52
};
53
54
}
// namespace cx
55
56
#endif
cx::cxWidgetsException
Represents an exception in cxWidgets.
Definition
cxWidgetsException.h:23
cx::cxWidgetsException::cxTypeStr
virtual std::string cxTypeStr() const
Returns the name of the cxWidgets class. This can be used to.
Definition
cxWidgetsException.cpp:24
cx::cxWidgetsException::~cxWidgetsException
virtual ~cxWidgetsException()
Definition
cxWidgetsException.cpp:15
cx::cxWidgetsException::getErrorMsg
const std::string & getErrorMsg() const
Returns the error message.
Definition
cxWidgetsException.cpp:19
cx
cxBorderChars.h - Defines border characters to be used in drawing a box (i.e., in cxWindow and all it...
Definition
cxApp.cpp:5
Generated by
1.9.8