|
libgta
1.0.5
Read and Write Generic Tagged Array (GTA) files
|
The exception class. More...
Public Member Functions | |
| exception (const char *s, gta::result r) | |
| Constructor. More... | |
| gta::result | result () const |
| Get the original GTA result. More... | |
| int | sys_errno () const |
| Get the original errno. More... | |
| virtual const char * | what () const throw () |
| Get a description. More... | |
The exception class.
The GTA C++ interface reports errors by throwing exceptions. You can use them just like std::exceptions, but you can also query the original gta::result that caused the exception.
|
inline |
Constructor.
| s | The action that failed. |
| r | The GTA result. |
|
inline |
Get the original GTA result.
|
inline |
Get the original errno.
The original errno value is relevant if the original GTA result was gta::system_error.
|
inlinevirtual | |||||||||||||
Get a description.
1.8.6