wibble  0.1.28
Public Member Functions | List of all members
wibble::exception::BadCast Struct Reference

#include <exception.h>

Inheritance diagram for wibble::exception::BadCast:
Inheritance graph
[legend]
Collaboration diagram for wibble::exception::BadCast:
Collaboration graph
[legend]

Public Member Functions

 BadCast (const std::string &context) throw ()
 ~BadCast () throw ()
virtual std::string typeinfo () const throw ()
virtual std::string desc () const throw ()
 Get a string describing what happened that threw the exception.
- Public Member Functions inherited from wibble::exception::Consistency
 Consistency (const std::string &context, const std::string &error=std::string()) throw ()
 ~Consistency () throw ()
virtual const char * type () const throw ()
 Get a string tag identifying the exception type.
- Public Member Functions inherited from wibble::exception::Generic
 Generic () throw ()
 Generic (const std::string &context) throw ()
virtual ~Generic () throw ()
virtual const std::string & fullInfo () const throw ()
 Format in a string all available information about the exception.
virtual const char * what () const throw ()
- Public Member Functions inherited from wibble::exception::Context
 Context () throw ()
 Context (const std::string &context) throw ()
void addContext (const std::string &c) throw ()
std::string formatContext () const throw ()
const std::vector< std::string > & context () const throw ()

Additional Inherited Members

- Protected Attributes inherited from wibble::exception::Generic
std::string m_formatted

Constructor & Destructor Documentation

wibble::exception::BadCast::BadCast ( const std::string &  context) throw ()
inline
wibble::exception::BadCast::~BadCast ( ) throw ()
inline

Member Function Documentation

virtual std::string wibble::exception::BadCast::desc ( ) const throw ()
inlinevirtual

Get a string describing what happened that threw the exception.

Reimplemented from wibble::exception::Consistency.

References typeinfo().

virtual std::string wibble::exception::BadCast::typeinfo ( ) const throw ()
inlinevirtual

Reimplemented in wibble::exception::BadCastExt< From, To >.

Referenced by desc().


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