|
Soprano
2.9.4
|
Core class of Soprano's exception system. More...
#include <Soprano/Error/ErrorCache>
Inheritance diagram for Soprano::Error::ErrorCache:Public Member Functions | |
| virtual | ~ErrorCache () |
| virtual Error | lastError () const |
Protected Member Functions | |
| ErrorCache () | |
| void | clearError () const |
| void | setError (const Error &) const |
| void | setError (const QString &errorMessage, int code=ErrorUnknown) const |
Core class of Soprano's exception system.
The ErrorCache caches Error instances for different threads. Each thread has its own last error. This mechanism tries to replace the missing exceptions for methods that do not return an error code or another value that can state the success of the method's operation.
|
virtual |
|
protected |
|
virtual |
Get the last error that occured in the current thread.