Collage
1.5.0
High-performance C++ library for developing object-oriented distributed applications.
|
A base Exception class for Collage operations. More...
#include <exception.h>
Public Types | |
enum | Type { TIMEOUT_WRITE, TIMEOUT_READ, CUSTOM = 20 } |
The exception type. More... | |
Public Member Functions | |
Exception (const uint32_t type) | |
Construct a new Exception. More... | |
virtual | ~Exception () throw () |
Destruct this exception. More... | |
virtual uint32_t | getType () const |
const char * | what () const override throw () |
Output the exception in human-readable form. More... | |
A base Exception class for Collage operations.
Definition at line 32 of file exception.h.
enum co::Exception::Type |
The exception type.
Enumerator | |
---|---|
TIMEOUT_WRITE |
A write timeout operation. |
TIMEOUT_READ |
A read timeout operation. |
CUSTOM |
Application-specific exceptions. |
Definition at line 36 of file exception.h.
|
inlineexplicit |
|
inlinevirtual |
|
inlinevirtual |
|
inlineoverride |
Output the exception in human-readable form.
Definition at line 53 of file exception.h.
References TIMEOUT_READ, and TIMEOUT_WRITE.
Referenced by co::operator<<().