cxWidgets 1.0
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
9namespace cx {
10
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
Represents an exception in cxWidgets.
Definition cxWidgetsException.h:23
virtual std::string cxTypeStr() const
Returns the name of the cxWidgets class. This can be used to.
Definition cxWidgetsException.cpp:24
virtual ~cxWidgetsException()
Definition cxWidgetsException.cpp:15
const std::string & getErrorMsg() const
Returns the error message.
Definition cxWidgetsException.cpp:19
cxBorderChars.h - Defines border characters to be used in drawing a box (i.e., in cxWindow and all it...
Definition cxApp.cpp:5