glibmm  2.33.12
Public Types | Public Member Functions
Glib::IOChannelError Class Reference

Exception class for IOChannel errors. More...

#include <glibmm/iochannel.h>

Inheritance diagram for Glib::IOChannelError:
Inheritance graph
[legend]

List of all members.

Public Types

enum  Code {
  FILE_TOO_BIG,
  INVALID_ARGUMENT,
  IO_ERROR,
  IS_DIRECTORY,
  NO_SPACE_LEFT,
  NO_SUCH_DEVICE,
  OVERFLOWN,
  BROKEN_PIPE,
  FAILED
}

Public Member Functions

 IOChannelError (Code error_code, const Glib::ustring& error_message)
 IOChannelError (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)
Erroroperator= (const Error& other)
virtual ~Error () throw ()
GQuark domain () 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_

Detailed Description

Exception class for IOChannel errors.


Member Enumeration Documentation

Enumerator:
FILE_TOO_BIG 
INVALID_ARGUMENT 
IO_ERROR 
IS_DIRECTORY 
NO_SPACE_LEFT 
NO_SUCH_DEVICE 
OVERFLOWN 
BROKEN_PIPE 
FAILED 

Constructor & Destructor Documentation

Glib::IOChannelError::IOChannelError ( Code  error_code,
const Glib::ustring error_message 
)
Glib::IOChannelError::IOChannelError ( GError *  gobject)
explicit

Member Function Documentation

Code Glib::IOChannelError::code ( ) const

Reimplemented from Glib::Error.