|
Glib::ConvertError Class ReferenceException class for charset conversion errors.
More...
|
Public Types | |
enum | Code { NO_CONVERSION, ILLEGAL_SEQUENCE, FAILED, PARTIAL_INPUT, BAD_URI, NOT_ABSOLUTE_PATH } |
Public Methods | |
ConvertError (Code error_code, const Glib::ustring& error_message) | |
ConvertError (GError* gobject) | |
Code | code () const |
Glib::convert() and friends throw a ConvertError exception if the charset conversion failed for some reason. When writing non-trivial applications you should always catch those errors, and then try to recover, or tell the user the input was invalid.
|
|
|
|
|
|
|
Reimplemented from Glib::Error. |