#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.
Namespaces | |
namespace | smbios |
Classes | |
class | Exception |
Defines | |
#define | DEFINE_EXCEPTION_EX(excName, ns, superclass) |
#define | THROW(Type, txt) throw Type ( std::string( __FILE__ ## ":Line " ## LIBSMBIOS_STRINGIZE(__LINE__)) + txt) |
Functions | |
DEFINE_EXCEPTION_EX (NotImplementedImpl, smbios, NotImplemented) | |
DEFINE_EXCEPTION_EX (InternalErrorImpl, smbios, InternalError) | |
DEFINE_EXCEPTION_EX (PermissionExceptionImpl, smbios, PermissionException) |
|
Value: class excName : public smbios::Exception< ns :: superclass > \ { \ 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. |
|
Definition at line 53 of file ExceptionImpl.h. |
|
Used in cases where operating system privleges prevent an action. |
|
Used in cases where something that "cannot happen" happens. Raised in instances usually caused by some internal class state becoming corrupted. |
|
Raised when some class does not implement part of the public interface Used mainly in classes where there are optional parts of the interface defined that require extra external functionality, such as XML, for example. |