Logo Search packages:      
Sourcecode: ardour version File versions  Download package

Glib::FileError Class Reference
[File Utilities]

#include <fileutils.h>

Inheritance diagram for Glib::FileError:

List of all members.


Detailed Description

Exception class for file-related errors.

Definition at line 102 of file fileutils.h.


Public Types

enum  Code {
  EXISTS, IS_DIRECTORY, ACCESS_DENIED, NAME_TOO_LONG,
  NO_SUCH_ENTITY, NOT_DIRECTORY, NO_SUCH_DEVICE, NOT_DEVICE,
  READONLY_FILESYSTEM, TEXT_FILE_BUSY, FAULTY_ADDRESS, SYMLINK_LOOP,
  NO_SPACE_LEFT, NOT_ENOUGH_MEMORY, TOO_MANY_OPEN_FILES, FILE_TABLE_OVERFLOW,
  BAD_FILE_DESCRIPTOR, INVALID_ARGUMENT, BROKEN_PIPE, TRYAGAIN,
  INTERRUPTED, IO_ERROR, NOT_OWNER, NOSYS,
  FAILED
}
typedef void(* ThrowFunc )(GError *)

Public Member Functions

Code code () const
GQuark domain () const
 FileError (GError *gobject)
 FileError (Code error_code, const Glib::ustring &error_message)
const GError * gobj () const
GError * gobj ()
bool matches (GQuark domain, int code) const
void propagate (GError **dest)
virtual Glib::ustring what () const

Static Public Member Functions

static void register_cleanup ()
static void register_domain (GQuark domain, ThrowFunc throw_func)
static void register_init ()
static void throw_exception (GError *gobject) G_GNUC_NORETURN

Protected Attributes

GError * gobject_

Static Private Member Functions

static void throw_func (GError *gobject)

Friends

void wrap_init ()

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index