VMime
filesystem_exception Class Reference

#include <exception.hpp>

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 charname () 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 ()
 

Additional Inherited Members

- Static Protected Attributes inherited from exception
static const exception NO_EXCEPTION
 

Detailed Description

Base class for exceptions thrown by the filesystem features.

Constructor & Destructor Documentation

◆ filesystem_exception()

◆ ~filesystem_exception()

~filesystem_exception ( )
throw (
)

Member Function Documentation

◆ clone()

exception * clone ( ) const
virtual

Clone this object.

Returns
a new copy of this object

Reimplemented from exception.

Reimplemented in not_a_directory.

◆ name()

const char * name ( ) const
throw (
)
virtual

Return a name identifying the exception.

Returns
exception name

Reimplemented from exception.

Reimplemented in not_a_directory.

◆ path()

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: