VMime
filesystem_exception Class Reference
Inheritance diagram for filesystem_exception:
Collaboration diagram for filesystem_exception:

Public Member Functions

 filesystem_exception (const string &what, const utility::path &path, const exception &other=NO_EXCEPTION)
 
 ~filesystem_exception () throw ()
 
const utility::pathpath () const
 
exceptionclone () const
 
const char * name () const throw ()
 
- Public Member Functions inherited from exception
 exception (const string &what, const exception &other=NO_EXCEPTION)
 
 exception (const exception &e)
 
virtual ~exception () throw ()
 
void chainException (const exception &other)
 
const exceptionother () const throw ()
 

Detailed Description

Base class for exceptions thrown by the filesystem features.

Constructor & Destructor Documentation

filesystem_exception ( const string what,
const utility::path path,
const exception other = NO_EXCEPTION 
)
~filesystem_exception ( )
throw (
)

Member Function Documentation

exception * clone ( ) const
virtual

Clone this object.

Returns
a new copy of this object

Reimplemented from exception.

Reimplemented in file_not_found, and not_a_directory.

References filesystem_exception::filesystem_exception().

const char * name ( ) const
throw (
)
virtual

Return a name identifying the exception.

Returns
exception name

Reimplemented from exception.

Reimplemented in file_not_found, and not_a_directory.

const utility::path & path ( ) const

Return the full path of the file have thrown the exception.

Returns
full path of the file/directory

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