Honeycomb
0.1
Component-Model Framework
|
Wrapper around std exception to allow for polymorphic throw. More...
#include <Exception.h>
Public Types | |
typedef SharedPtr< Std > | Ptr |
typedef SharedPtr< const Std > | ConstPtr |
Public Member Functions | |
Std (const T &e) | |
virtual Exception::Ptr | clone () const |
virtual String | typeName () const |
virtual void | raise () const |
Public Member Functions inherited from honey::Exception | |
Exception ()=default | |
Exception (const Exception &rhs) | |
Exception & | operator= (const Exception &rhs) |
const Source & | source () const |
Get info about source where exception was thrown. More... | |
const String & | message () const |
Get custom error message. The error message can be appended to using global operator<<(Exception, String) More... | |
const char * | what () const throw () |
Get full diagnostic message. More... | |
template<class T > | |
MsgStream | operator<< (T &&val) |
Append custom error message. More... | |
Public Member Functions inherited from honey::SharedObj< Exception > | |
SharedObj (Alloc &&a=Alloc()) debug_if( | |
Construct with allocator that is called to deallocate this shared object when all references have been released. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from honey::Exception | |
static Ptr | current () |
Create a clone of the current exception caught with (...) More... | |
Protected Member Functions inherited from honey::Exception | |
virtual String | createWhat () const |
Create what message. Called only on demand and result is cached. More... | |
Protected Member Functions inherited from honey::SharedObj< Exception > | |
void | finalize () |
Destroys object. Called when strong reference count reaches 0. May be overridden to prevent destruction. More... | |
Wrapper around std exception to allow for polymorphic throw.
typedef SharedPtr<const Std> honey::exception::Std< T >::ConstPtr |
typedef SharedPtr<Std> honey::exception::Std< T >::Ptr |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |