xtd 0.2.0
Loading...
Searching...
No Matches
barrier_post_phase_exception.h
Go to the documentation of this file.
1
4#pragma once
5#include "../system_exception.h"
6
8namespace xtd {
10 namespace threading {
28 public:
30
70 explicit barrier_post_phase_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()) : system_exception(message, inner_exception, error, info) {}
85
90
91 private:
92 const char* default_message() const noexcept {return "The post_phase_action failed with an exception."_t;}
93 };
94 }
95}
96
109#define barrier_post_phase_exception_(...) barrier_post_phase_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
barrier_post_phase_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 barrier_post_phase_exception.
Definition barrier_post_phase_exception.h:64
barrier_post_phase_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 barrier_post_phase_exception.
Definition barrier_post_phase_exception.h:70
barrier_post_phase_exception(const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class barrier_post_phase_exception.
Definition barrier_post_phase_exception.h:35
barrier_post_phase_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 barrier_post_phase_exception.
Definition barrier_post_phase_exception.h:44
barrier_post_phase_exception(const std::exception &inner_exception, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class barrier_post_phase_exception.
Definition barrier_post_phase_exception.h:59
barrier_post_phase_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 barrier_post_phase_exception.
Definition barrier_post_phase_exception.h:49
barrier_post_phase_exception(const xtd::string &message, const xtd::diagnostics::stack_frame &info=xtd::diagnostics::stack_frame::empty())
Create a new instance of class barrier_post_phase_exception.
Definition barrier_post_phase_exception.h:39
barrier_post_phase_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 barrier_post_phase_exception.
Definition barrier_post_phase_exception.h:54
barrier_post_phase_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 barrier_post_phase_exception.
Definition barrier_post_phase_exception.h:76
barrier_post_phase_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 barrier_post_phase_exception.
Definition barrier_post_phase_exception.h:83
The exception that is thrown when a Thread is in an invalid ThreadState for the method call.
Definition barrier_post_phase_exception.h:27
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10