Back to index

Public Member Functions | Private Attributes
GrabFailedException Class Reference

#include <grabber.h>

Inheritance diagram for GrabFailedException:
Inheritance graph
Collaboration diagram for GrabFailedException:
Collaboration graph

List of all members.

Public Member Functions

 GrabFailedException (int code)
virtual const char * what () const throw ()
 ~GrabFailedException () throw ()

Private Attributes

char * msg

Detailed Description

Definition at line 135 of file grabber.h.

Constructor & Destructor Documentation

Definition at line 138 of file grabber.h.

{ if (asprintf(&msg, "Grab Failed: %d", code) == -1) msg = NULL; }

Definition at line 140 of file grabber.h.

{ free(msg); }

Member Function Documentation

virtual const char* GrabFailedException::what ( ) const throw () [inline, virtual]

Definition at line 139 of file grabber.h.

{ return msg ? msg : "Grab Failed"; }

Here is the caller graph for this function:

Member Data Documentation

char* GrabFailedException::msg [private]

Definition at line 136 of file grabber.h.

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