xtd 0.2.0
wait_handle_cannot_be_opened_exception.hpp
Go to the documentation of this file.
1
4#pragma once
6
8namespace xtd {
10 namespace threading {
28 public:
30
44 explicit wait_handle_cannot_be_opened_exception(const xtd::string& message, const std::error_code& error, const xtd::diagnostics::stack_frame& stack_frame = xtd::diagnostics::stack_frame::current()) : system_exception(message, error, stack_frame) {}
70 explicit wait_handle_cannot_be_opened_exception(const xtd::string& message, const std::exception& inner_exception, const std::error_code& error, const xtd::diagnostics::stack_frame& stack_frame = xtd::diagnostics::stack_frame::current()) : system_exception(message, inner_exception, error, stack_frame) {}
83 explicit wait_handle_cannot_be_opened_exception(const xtd::string& message, const std::exception& inner_exception, const std::error_code& error, const xtd::string& help_link, const xtd::diagnostics::stack_frame& stack_frame = xtd::diagnostics::stack_frame::current()) : system_exception(message, inner_exception, error, help_link, stack_frame) {}
85
90
91 private:
92 const char* default_message() const noexcept {return "No handle of the given name exists."_t;}
93 };
94 }
95}
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.hpp:48
static stack_frame current(const xtd::diagnostics::source_location &value=xtd::diagnostics::source_location::current()) noexcept
Crates a new xtd::diagnostics::stack_frame object corresponding to the location of the call site.
virtual const xtd::string & message() const noexcept
Gets message associate to the exception.
virtual exception_ref inner_exception() const noexcept
Gets the exception instance that caused the current exception.
virtual const xtd::string & help_link() const noexcept
Gets a link to the help file associated with this exception.
system_exception(const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class xtd::system_exception.
The exception that is thrown when a Thread is in an invalid ThreadState for the method call.
Definition wait_handle_cannot_be_opened_exception.hpp:27
wait_handle_cannot_be_opened_exception(const xtd::string &message, const std::exception &inner_exception, const xtd::string &help_link, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class wait_handle_cannot_be_opened_exception.
Definition wait_handle_cannot_be_opened_exception.hpp:76
wait_handle_cannot_be_opened_exception(const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class wait_handle_cannot_be_opened_exception.
Definition wait_handle_cannot_be_opened_exception.hpp:35
wait_handle_cannot_be_opened_exception(const xtd::string &message, const xtd::string &help_link, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class wait_handle_cannot_be_opened_exception.
Definition wait_handle_cannot_be_opened_exception.hpp:49
wait_handle_cannot_be_opened_exception(const xtd::string &message, const std::exception &inner_exception, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class wait_handle_cannot_be_opened_exception.
Definition wait_handle_cannot_be_opened_exception.hpp:64
wait_handle_cannot_be_opened_exception(const std::exception &inner_exception, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class wait_handle_cannot_be_opened_exception.
Definition wait_handle_cannot_be_opened_exception.hpp:59
wait_handle_cannot_be_opened_exception(const xtd::string &message, const std::error_code &error, const xtd::string &help_link, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class wait_handle_cannot_be_opened_exception.
Definition wait_handle_cannot_be_opened_exception.hpp:54
wait_handle_cannot_be_opened_exception(const xtd::string &message, const std::exception &inner_exception, const std::error_code &error, const xtd::string &help_link, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class wait_handle_cannot_be_opened_exception.
Definition wait_handle_cannot_be_opened_exception.hpp:83
wait_handle_cannot_be_opened_exception(const xtd::string &message, const std::error_code &error, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class wait_handle_cannot_be_opened_exception.
Definition wait_handle_cannot_be_opened_exception.hpp:44
wait_handle_cannot_be_opened_exception(const xtd::string &message, const std::exception &inner_exception, const std::error_code &error, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class wait_handle_cannot_be_opened_exception.
Definition wait_handle_cannot_be_opened_exception.hpp:70
wait_handle_cannot_be_opened_exception(const xtd::string &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class wait_handle_cannot_be_opened_exception.
Definition wait_handle_cannot_be_opened_exception.hpp:39
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
The xtd::threading namespace provides classes and interfaces that enable multithreaded programming....
Definition abandoned_mutex_exception.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::system_exception exception.