8#ifndef FMTfreeexceptionhandler_H_INCLUDED
9#define FMTfreeexceptionhandler_H_INCLUDED
12#include <boost/serialization/serialization.hpp>
13#include <boost/serialization/nvp.hpp>
30 friend class boost::serialization::access;
31 template<
class Archive>
32 void serialize(Archive& ar,
const unsigned int version)
34 ar & boost::serialization::make_nvp(
"FMTexceptionhandler", boost::serialization::base_object<FMTexceptionhandler>(*
this));
53 const std::string& method,
const int& line,
const std::string& file,
55#if defined FMTWITHGDAL
67 void handelCPLerror(
int eErrClass,
int nError,
const char * pszErrorMsg)
override;
#define FMTEXPORT
Definition: FMTutility.hpp:92
Definition: FMTexception.hpp:134
Definition: FMTexceptionhandler.hpp:32
Definition: FMTfreeexceptionhandler.hpp:25
FMTexception raise(FMTexc lexception, std::string text, const std::string &method, const int &line, const std::string &file, Core::FMTsection lsection=Core::FMTsection::Empty, bool throwit=true) override
FMTexceptionhandler * getCPLdata() override
void handelCPLerror(int eErrClass, int nError, const char *pszErrorMsg) override
~FMTfreeexceptionhandler()=default
FMTfreeexceptionhandler()
FMTsection
Definition: FMTutility.hpp:23
@ Empty
Definition: FMTutility.hpp:35
Namespace for exceptions and exceptions handling (warnings and errors) thrown by FMT and all exceptio...
Definition: FMTcplhandler.hpp:16
FMTexc
Definition: FMTexception.hpp:42