5#include "../system_exception.h"
92 const char* default_message() const noexcept {
return "Thread was in an invalid state for the operation being executed."_t;}
109#define thread_state_exception_(...) thread_state_exception(add_csf_(__VA_ARGS__))
Represents text as a sequence of character units.
Definition basic_string.h:79
static stack_frame empty() noexcept
Return an empty stack frame.
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.h:40
virtual const xtd::string & help_link() const noexcept
Gets a link to the help file associated with this exception.
virtual exception_ref inner_exception() const noexcept
Gets the exception instance that caused the current exception.
virtual const xtd::string & message() const noexcept
Gets message associate to the exception.
Defines the base class for predefined exceptions in the xtd namespace.
Definition system_exception.h:24
thread_state_exception(const xtd::string &message, const std::error_code &error, const xtd::string &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class thread_state_exception.
Definition thread_state_exception.h:54
thread_state_exception(const xtd::string &message, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class thread_state_exception.
Definition thread_state_exception.h:39
thread_state_exception(const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class thread_state_exception.
Definition thread_state_exception.h:35
thread_state_exception(const xtd::string &message, const std::error_code &error, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class thread_state_exception.
Definition thread_state_exception.h:44
thread_state_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 &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class thread_state_exception.
Definition thread_state_exception.h:83
thread_state_exception(const xtd::string &message, const xtd::string &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class thread_state_exception.
Definition thread_state_exception.h:49
thread_state_exception(const std::exception &inner_exception, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class thread_state_exception.
Definition thread_state_exception.h:59
thread_state_exception(const xtd::string &message, const std::exception &inner_exception, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class thread_state_exception.
Definition thread_state_exception.h:64
thread_state_exception(const xtd::string &message, const std::exception &inner_exception, const xtd::string &help_link, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class thread_state_exception.
Definition thread_state_exception.h:76
thread_state_exception(const xtd::string &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 thread_state_exception.
Definition thread_state_exception.h:70
The exception that is thrown when a Thread is in an invalid ThreadState for the method call.
Definition thread_state_exception.h:27
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10