Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Exception.h File Reference
#include "Poco/Foundation.h"
#include <stdexcept>
+ Include dependency graph for Exception.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Poco::Exception
 

Namespaces

namespace  Poco
 

Macros

#define POCO_DECLARE_EXCEPTION_CODE(API, CLS, BASE, CODE)
 
#define POCO_DECLARE_EXCEPTION(API, CLS, BASE)    POCO_DECLARE_EXCEPTION_CODE(API, CLS, BASE, 0)
 
#define POCO_IMPLEMENT_EXCEPTION(CLS, BASE, NAME)
 

Macro Definition Documentation

◆ POCO_DECLARE_EXCEPTION

#define POCO_DECLARE_EXCEPTION ( API,
CLS,
BASE )    POCO_DECLARE_EXCEPTION_CODE(API, CLS, BASE, 0)

Definition at line 157 of file Exception.h.

◆ POCO_DECLARE_EXCEPTION_CODE

#define POCO_DECLARE_EXCEPTION_CODE ( API,
CLS,
BASE,
CODE )
Value:
class API CLS: public BASE \
{ \
public: \
CLS(int code = CODE); \
CLS(const std::string& msg, int code = CODE); \
CLS(const std::string& msg, const std::string& arg, int code = CODE); \
CLS(const std::string& msg, const Poco::Exception& exc, int code = CODE); \
CLS(const CLS& exc); \
~CLS() noexcept; \
CLS& operator = (const CLS& exc); \
const char* name() const noexcept; \
const char* className() const noexcept; \
Poco::Exception* clone() const; \
void rethrow() const; \
};
Definition IBaseApi.h:9

Definition at line 140 of file Exception.h.

◆ POCO_IMPLEMENT_EXCEPTION

#define POCO_IMPLEMENT_EXCEPTION ( CLS,
BASE,
NAME )

Definition at line 160 of file Exception.h.