|
glibmm
2.35.9
|
Exception class for giomm errors. More...
#include <giomm/error.h>

Public Member Functions | |
| Error (Code error_code, const Glib::ustring& error_message) | |
| Error (GError* gobject) | |
| Code | code () const |
Public Member Functions inherited from Glib::Error | |
| Error () | |
| Error (GQuark domain, int code, const Glib::ustring& message) | |
| Error (GError* gobject, bool take_copy=false) | |
| Error (const Error& other) | |
| Error& | operator= (const Error& other) |
| virtual | ~Error () throw () |
| GQuark | domain () const |
| int | code () const |
| virtual Glib::ustring | what () const |
| bool | matches (GQuark domain, int code) const |
| GError* | gobj () |
| const GError* | gobj () const |
Public Member Functions inherited from Glib::Exception | |
| virtual | ~Exception ()=0 throw () |
Additional Inherited Members | |
Protected Attributes inherited from Glib::Error | |
| GError* | gobject_ |
Exception class for giomm errors.
| enum Gio::Error::Code |
| Enumerator | |
|---|---|
| FAILED |
Generic error condition for when any operation fails. |
| NOT_FOUND |
File not found. |
| EXISTS |
File already exists. |
| IS_DIRECTORY |
File is a directory. |
| NOT_DIRECTORY |
File is not a directory. |
| NOT_EMPTY |
File is a directory that isn't empty. |
| NOT_REGULAR_FILE |
File is not a regular file. |
| NOT_SYMBOLIC_LINK |
File is not a symbolic link. |
| NOT_MOUNTABLE_FILE |
File cannot be mounted. |
| FILENAME_TOO_LONG |
Filename is too many characters. |
| INVALID_FILENAME |
Filename is invalid or contains invalid characters. |
| TOO_MANY_LINKS |
File contains too many symbolic links. |
| NO_SPACE |
No space left on drive. |
| INVALID_ARGUMENT |
Invalid argument. |
| PERMISSION_DENIED |
Permission denied. |
| NOT_SUPPORTED |
Operation not supported for the current backend. |
| NOT_MOUNTED |
File isn't mounted. |
| ALREADY_MOUNTED |
File is already mounted. |
| CLOSED |
File was closed. |
| CANCELLED |
Operation was cancelled. See Cancellable. |
| PENDING |
Operations are still pending. |
| READ_ONLY |
File is read only. |
| CANT_CREATE_BACKUP |
Backup couldn't be created. |
| WRONG_ETAG |
File's Entity Tag was incorrect. |
| TIMED_OUT |
Operation timed out. |
| WOULD_RECURSE |
Operation would be recursive. |
| BUSY |
File is busy. |
| WOULD_BLOCK |
Operation would block. |
| HOST_NOT_FOUND |
Host couldn't be found (remote operations). |
| HOST_WAS_NOT_FOUND | |
| WOULD_MERGE |
Operation would merge files. |
| FAILED_HANDLED |
Operation failed and a helper program has already interacted with the user. Do not display any error dialog. |
| TOO_MANY_OPEN_FILES |
The current process has too many files open and can't open any more. Duplicate descriptors do count toward this limit. |
| NOT_INITIALIZED |
The object has not been initialized. |
| ADDRESS_IN_USE |
The requested address is already in use. |
| PARTIAL_INPUT |
Need more input to finish operation. |
| INVALID_DATA |
There input data was invalid. |
| DBUS_ERROR |
A remote object generated an error that doesn't correspond to a locally registered Error error domain. Use g_dbus_error_get_remote_error() to extract the D-Bus error name and g_dbus_error_strip_remote_error() to fix up the message so it matches what was received on the wire. |
| HOST_UNREACHABLE |
Host unreachable. |
| NETWORK_UNREACHABLE |
Network unreachable. |
| CONNECTION_REFUSED |
Connection refused. |
| PROXY_FAILED |
Connection to proxy server failed. |
| PROXY_AUTH_FAILED |
Proxy authentication failed. |
| PROXY_NEED_AUTH |
Proxy server needs authentication. |
| PROXY_NOT_ALLOWED |
Proxy connection is not allowed by ruleset. |
| Gio::Error::Error | ( | Code | error_code, |
| const Glib::ustring& | error_message | ||
| ) |
|
explicit |
| Code Gio::Error::code | ( | ) | const |
1.8.3.1