|
libUTL++
|
Exception classes. More...
Classes | |
| class | utl::Exception |
| Root of UTL++ exception class hierarchy. More... | |
| class | utl::HostOSEx |
| Host OS exception (abstract) More... | |
| class | utl::AccessDeniedEx |
| Access denied exception More... | |
| class | utl::FileExistsEx |
| File already exists exception More... | |
| class | utl::FileNotFoundEx |
| File not found exception More... | |
| class | utl::InterruptedSyscallEx |
| Interrupted system call exception More... | |
| class | utl::InvalidAddressEx |
| Invalid address/descriptor exception More... | |
| class | utl::NonDirectoryComponentEx |
| Non-directory component exception More... | |
| class | utl::UnknownHostOSEx |
| Unknown host OS exception More... | |
| class | utl::StreamEx |
| Stream exception (abstract) More... | |
| class | utl::StreamEOFex |
| Stream EOF exception More... | |
| class | utl::StreamErrorEx |
| Stream I/O error exception More... | |
| class | utl::StreamSerializeEx |
| Stream serialization exception More... | |
| class | utl::NetworkEx |
| Network exception (abstract) More... | |
| class | utl::ConnectionRefusedEx |
| Connection refused exception More... | |
| class | utl::AddressInUseEx |
| Address in use exception More... | |
| class | utl::AddressNotAvailableEx |
| Address not available exception More... | |
| class | utl::NetworkUnreachableEx |
| Network unreachable exception More... | |
| class | utl::ConnectionResetEx |
| Connection reset by peer exception More... | |
| class | utl::HostLookupEx |
| Host lookup failure exception More... | |
| class | utl::HostNoAddressEx |
| Host has no address exception More... | |
| class | utl::HostNotFoundEx |
| Host not found exception More... | |
| class | utl::IllegalValueEx |
| Illegal value exception. More... | |
| class | utl::UnknownEx |
| Unknown exception. More... | |
| class | utl::ThreadCancelledEx |
| Thread cancelled exception More... | |
Macros | |
| #define | UTL_EXCEPTION_DECL(exName, baseExName) |
| Declare a simple exception type. More... | |
| #define | UTL_EXCEPTION_IMPL(exNS, exName, baseExName, name) |
| Implement a simple exception type. More... | |
Functions | |
| void | utl::errToEx (const utl::Object *object=nullptr) |
Convert libc's errno to an exception. More... | |
| void | utl::h_errToEx (const utl::Object *object=nullptr) |
Convert libc's h_errno to an exception. More... | |
Exception classes.
| #define UTL_EXCEPTION_DECL | ( | exName, | |
| baseExName | |||
| ) |
Declare a simple exception type.
| exName | exception name |
| baseExName | base exception name |
Definition at line 41 of file Exception.h.
| #define UTL_EXCEPTION_IMPL | ( | exNS, | |
| exName, | |||
| baseExName, | |||
| name | |||
| ) |
Implement a simple exception type.
| exNS | exception namespace |
| exName | exception name |
| baseExName | base exception name |
| name | human-readable name |
Definition at line 79 of file Exception.h.
| void utl::errToEx | ( | const utl::Object * | object = nullptr | ) |
Convert libc's errno to an exception.
| object | associated object |
| void utl::h_errToEx | ( | const utl::Object * | object = nullptr | ) |
Convert libc's h_errno to an exception.
| object | associated object |