ZBar Bar Code Reader Library  version 0.10
zbar::Exception Class Reference

base class for exceptions defined by this API. More...

Inherits std::exception.

Inherited by zbar::BusyError, zbar::ClosedError, zbar::FormatError, zbar::InternalError, zbar::InvalidError, zbar::LockingError, zbar::SystemError, zbar::UnsupportedError, zbar::XDisplayError, and zbar::XProtoError.

Collaboration diagram for zbar::Exception:

Public Member Functions

 Exception (const void *obj=NULL)
 create exception from C library error More...
 
 ~Exception () throw ()
 
virtual const char * what () const throw ()
 retrieve error message More...
 

Private Attributes

const void_obj
 

Detailed Description

base class for exceptions defined by this API.

Constructor & Destructor Documentation

zbar::Exception::Exception ( const void obj = NULL)
inline

create exception from C library error

Referenced by zbar::throw_exception().

Here is the caller graph for this function:

zbar::Exception::~Exception ( )
throw (
)
inline

Member Function Documentation

virtual const char* zbar::Exception::what ( ) const
throw (
)
inlinevirtual

retrieve error message

Reimplemented in zbar::FormatError.

References _obj, and zbar::_zbar_error_string().

Here is the call graph for this function:

Member Data Documentation

const void* zbar::Exception::_obj
private

Referenced by what().


The documentation for this class was generated from the following file: