| 
    CppCommon 1.0.5.0
    
   C++ Common Library 
   | 
 
File system exception. More...
#include <exceptions.h>
  
Public Member Functions | |
| const Path & | path () const noexcept | 
| Get exception path.   | |
| std::string | string () const override | 
| Get string from the current exception.   | |
| FileSystemException & | Attach (const Path &path) | 
| Attach the given path to the exception.   | |
| FileSystemException & | Attach (const Path &src, const Path &dst) | 
| Attach the given source and destination paths to the exception.   | |
| SystemException () | |
| Create system exception based on the last system error code.   | |
| SystemException (int error) | |
| Create system exception based on the given system error code.   | |
| SystemException (const std::string &message) | |
| Create system exception based on the given exception message.   | |
| SystemException (const std::string &message, int error) | |
| Create system exception based on the given exception message and system error code.   | |
  Public Member Functions inherited from CppCommon::SystemException | |
| SystemException () | |
| Create system exception based on the last system error code.   | |
| SystemException (int error) | |
| Create system exception based on the given system error code.   | |
| SystemException (const std::string &message) | |
| Create system exception based on the given exception message.   | |
| SystemException (const std::string &message, int error) | |
| Create system exception based on the given exception message and system error code.   | |
| int | system_error () const noexcept | 
| Get system error code.   | |
| const std::string & | system_message () const noexcept | 
| Get system error message.   | |
| std::string | string () const override | 
| Get string from the current system exception.   | |
  Public Member Functions inherited from CppCommon::Exception | |
| Exception (const std::string &message="") | |
| Default class constructor.   | |
| Exception (const Exception &)=default | |
| Exception (Exception &&)=default | |
| virtual | ~Exception ()=default | 
| Exception & | operator= (const Exception &)=default | 
| Exception & | operator= (Exception &&)=default | 
| const std::string & | message () const noexcept | 
| Get exception message.   | |
| const SourceLocation & | location () const noexcept | 
| Get exception location.   | |
| const char * | what () const noexcept override | 
| Get string identifying exception.   | |
Protected Attributes | |
| Path | _path | 
| Filesystem exception path.   | |
| Path | _src | 
| Filesystem exception source path.   | |
| Path | _dst | 
| Filesystem exception destination path.   | |
  Protected Attributes inherited from CppCommon::SystemException | |
| int | _system_error | 
| System error code.   | |
| std::string | _system_message | 
| System error message.   | |
  Protected Attributes inherited from CppCommon::Exception | |
| std::string | _cache | 
| Cached exception string.   | |
| std::string | _message | 
| Exception message.   | |
| SourceLocation | _location | 
| Exception location.   | |
File system exception.
Definition at line 18 of file exceptions.h.
      
  | 
  inline | 
Attach the given path to the exception.
| path | - Exception path | 
Definition at line 33 of file exceptions.h.
      
  | 
  inline | 
Attach the given source and destination paths to the exception.
Definition at line 40 of file exceptions.h.
      
  | 
  inlinenoexcept | 
Get exception path.
Definition at line 24 of file exceptions.h.
      
  | 
  overridevirtual | 
Get string from the current exception.
Reimplemented from CppCommon::Exception.
Definition at line 13 of file exceptions.cpp.
      
  | 
  inline | 
Create system exception based on the last system error code.
Definition at line 110 of file exceptions.h.
      
  | 
  inlineexplicit | 
Create system exception based on the given exception message.
| message | - Exception message | 
Definition at line 124 of file exceptions.h.
      
  | 
  inlineexplicit | 
Create system exception based on the given exception message and system error code.
| message | - Exception message | 
| error | - System error code | 
Definition at line 132 of file exceptions.h.
      
  | 
  inlineexplicit | 
Create system exception based on the given system error code.
| error | - System error code | 
Definition at line 117 of file exceptions.h.
      
  | 
  protected | 
Filesystem exception destination path.
Definition at line 49 of file exceptions.h.
      
  | 
  protected | 
Filesystem exception path.
Definition at line 45 of file exceptions.h.
      
  | 
  protected | 
Filesystem exception source path.
Definition at line 47 of file exceptions.h.