rutz::filename_error Class Reference

An exception class for invalid filenames or inaccessible files. More...

#include <rutz/ioerror.h>

Inheritance diagram for rutz::filename_error:

Inheritance graph
Collaboration diagram for rutz::filename_error:

Collaboration graph

List of all members.

Public Member Functions

 filename_error (const char *filename, const rutz::file_pos &pos)
 Default constructor.
virtual ~filename_error () throw ()
 Virtual destructor.
virtual const char * what () const throw ()
 Get the decorated error message as a C-style string.
const rutz::file_possrc_pos () const throw ()
 Get the source file position where the error was generated.
const rutz::backtraceget_backtrace () const throw ()
 Get the stack back trace associated with this exception.

Static Public Member Functions

static void get_last_backtrace (rutz::backtrace &dst)
 Copy out the back trace most recently used in constructing a rutz::error.

Protected Member Functions

void set_msg (const rutz::fstring &new_msg) throw ()
 Reset the error message.
const rutz::fstringget_msg () const throw ()
 Get the (un-decorated) error message.

Detailed Description

An exception class for invalid filenames or inaccessible files.

Definition at line 44 of file ioerror.h.

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

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:41 2008 by Doxygen version 1.5.5.