92 const char* default_message()
const noexcept {
return "Attempted to access a drive that is not available."_t;}
111 #define drive_not_found_exception_(...) drive_not_found_exception(add_csf_(__VA_ARGS__)) drive_not_found_exception(const xtd::ustring &message, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class drive_not_found_exception.
Definition: drive_not_found_exception.h:39
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
drive_not_found_exception(const xtd::ustring &message, const xtd::ustring &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class drive_not_found_exception.
Definition: drive_not_found_exception.h:49
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
Contains xtd::io::io_exception exception.
The exception that is thrown when trying to access a drive or share that is not available.
Definition: drive_not_found_exception.h:27
The exception that is thrown when an I/O error occurs.
Definition: io_exception.h:27
drive_not_found_exception(const xtd::ustring &message, const std::error_code &error, const xtd::ustring &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class drive_not_found_exception.
Definition: drive_not_found_exception.h:54
drive_not_found_exception(const xtd::ustring &message, const std::exception &inner_exception, const xtd::ustring &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class drive_not_found_exception.
Definition: drive_not_found_exception.h:76
drive_not_found_exception(const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class drive_not_found_exception.
Definition: drive_not_found_exception.h:35
virtual exception_ref inner_exception() const noexcept
Gets the exception instance that caused the current exception.
drive_not_found_exception(const xtd::ustring &message, const std::exception &inner_exception, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class drive_not_found_exception.
Definition: drive_not_found_exception.h:64
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition: stack_frame.h:37
static stack_frame empty() noexcept
Return an empty stack frame.
drive_not_found_exception(const xtd::ustring &message, const std::exception &inner_exception, const std::error_code &error, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class drive_not_found_exception.
Definition: drive_not_found_exception.h:70
drive_not_found_exception(const xtd::ustring &message, const std::exception &inner_exception, const std::error_code &error, const xtd::ustring &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class drive_not_found_exception.
Definition: drive_not_found_exception.h:83
drive_not_found_exception(const xtd::ustring &message, const std::error_code &error, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class drive_not_found_exception.
Definition: drive_not_found_exception.h:44
virtual const xtd::ustring & message() const noexcept
Gets message associate to the exception.
drive_not_found_exception(const std::exception &inner_exception, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class drive_not_found_exception.
Definition: drive_not_found_exception.h:59
virtual const xtd::ustring & help_link() const noexcept
Gets a link to the help file associated with this exception.