Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

/builddir/build/BUILD/libsmbios-2.2.26/src/include/smbios/IException.h File Reference

#include "smbios/compat.h"
#include <string>
#include <exception>
#include "smbios/types.h"
#include "smbios/config/abi_prefix.hpp"
#include "smbios/config/abi_suffix.hpp"

Go to the source code of this file.

Namespaces

namespace  smbios

Data Structures

class  smbios::IException
 Base class for all Abstract Exceptions. More...

Defines

#define DECLARE_EXCEPTION_EX(excName, namespace, superclass)
#define DECLARE_EXCEPTION(excName)   DECLARE_EXCEPTION_EX( excName, smbios, IException )

Functions

 DECLARE_EXCEPTION (NotImplemented)
 DECLARE_EXCEPTION (InternalError)
 DECLARE_EXCEPTION (PermissionException)


Define Documentation

#define DECLARE_EXCEPTION excName   )     DECLARE_EXCEPTION_EX( excName, smbios, IException )
 

#define DECLARE_EXCEPTION_EX excName,
namespace,
superclass   ) 
 

Value:

class excName : public namespace::superclass \
    {\
    public:\
        virtual ~excName() throw() {};\
        excName() {};\
    }


Function Documentation

DECLARE_EXCEPTION PermissionException   ) 
 

Used in cases where operating system privleges prevent an action.

DECLARE_EXCEPTION InternalError   ) 
 

Used in cases where something that "cannot happen" happens. Raised in instances usually caused by some internal class state becoming corrupted.

DECLARE_EXCEPTION NotImplemented   ) 
 

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.


Generated on Sat Feb 5 06:10:58 2011 for libsmbios_c library by  doxygen 1.3.9.1