|
CoreComponents 3.0.0
A Modern C++ Toolkit
|
Exception classes and error handling convenience functions More...
Classes | |
| class | Exception |
| Abstract base class for exceptions More... | |
| class | IoExhaustion |
| Input or Output exhaustion. More... | |
| class | OutputExhaustion |
| Output exhaustion. More... | |
| class | InputExhaustion |
| Input exhaustion. More... | |
| class | Timeout |
| Operation timed out. More... | |
| class | UsageError |
| User input ambiguous, report back to user and provide guidance More... | |
| class | HelpRequest |
| User requested help More... | |
| class | VersionRequest |
| User requested the application version More... | |
| class | EncodingError |
| Some encoded data is malformed. More... | |
| class | UnicodeError |
| Encoding/decoding of an Unicode string failed. More... | |
| class | PropertyBindingError |
| General error binding properties. More... | |
| class | PropertyBindingLoop |
| Property binding loop detected More... | |
| class | CommandNotFound |
| Command not found More... | |
| class | DebugError |
| Debugging hint on internal system malfunction. More... | |
| class | Error |
| Generic application error. More... | |
| class | SystemError |
| System call failed More... | |
| class | SystemResourceError |
| System call failed to perform an action on a named resource (e.g. More... | |
| class | SystemDebugError |
| Debugging hint on system call failure. More... | |
Macros | |
| #define | CC_SYSTEM_RESOURCE_ERROR(errorCode, resource) throw SystemResourceError(errorCode, resource, __FILE__, __LINE__) |
| Convenience macro to throw a SystemResourceError. | |
| #define | CC_SYSTEM_DEBUG_ERROR(errorCode) throw SystemDebugError(errorCode, __FILE__, __LINE__) |
| Convenience macro to throw a SystemDebugError. | |
| #define | CC_SYSCALL(ret) systemCall(ret, __FILE__, __LINE__) |
| Convenience macro to invoke a system call and automatically have it throw a SystemDebugError on errors. | |
| #define | CC_SYSTEM_ERROR(errorCode, resource) |
| Convenience macro to throw a SystemDebugError or SystemResourceError. | |
Functions | |
| String | systemError (int errorCode) |
| Translate system error code to error message. | |
Exception classes and error handling convenience functions
| #define CC_SYSTEM_RESOURCE_ERROR | ( | errorCode, | |
| resource ) throw SystemResourceError(errorCode, resource, __FILE__, __LINE__) |
Convenience macro to throw a SystemResourceError.
| #define CC_SYSTEM_DEBUG_ERROR | ( | errorCode | ) | throw SystemDebugError(errorCode, __FILE__, __LINE__) |
Convenience macro to throw a SystemDebugError.
| #define CC_SYSCALL | ( | ret | ) | systemCall(ret, __FILE__, __LINE__) |
Convenience macro to invoke a system call and automatically have it throw a SystemDebugError on errors.
| #define CC_SYSTEM_ERROR | ( | errorCode, | |
| resource ) |
Convenience macro to throw a SystemDebugError or SystemResourceError.
| String systemError | ( | int | errorCode | ) |
Translate system error code to error message.