#include "smbios/compat.h"
#include <map>
#include <string>
#include <sstream>
#include <exception>
#include "smbios/types.h"
#include "smbios/IException.h"
#include "smbios/config/abi_prefix.hpp"
#include "smbios/config/abi_suffix.hpp"
Go to the source code of this file.
Macros |
#define | DEFINE_EXCEPTION_EX(excName, ns, superclass) |
#define | THROW(Type, txt) throw Type ( std::string( __FILE__ ## ":Line " ## LIBSMBIOS_STRINGIZE(__LINE__)) + txt) |
Macro Definition Documentation
#define DEFINE_EXCEPTION_EX |
( |
|
excName, |
|
|
|
ns, |
|
|
|
superclass |
|
) |
| |
Value:
{ \
public: \
~excName() throw() {}; \
excName( const std::string initMessage ) : smbios::Exception< ns :: superclass >(initMessage) {} ;\
excName( const excName &src ) : smbios::Exception< ns :: superclass >(src) {} ;\
excName( ) : smbios::Exception< ns :: superclass >() {} ;\
}
Definition at line 39 of file ExceptionImpl.h.
#define THROW |
( |
|
Type, |
|
|
|
txt |
|
) |
| throw Type ( std::string( __FILE__ ## ":Line " ## LIBSMBIOS_STRINGIZE(__LINE__)) + txt) |