6#if !defined(__XTD_CORE_INTERNAL__)
7#error "Do not include this file: Internal use only"
14#if __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_GUI_APPLICATION__ || __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_UNKNOWN__
21#if __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_GUI_APPLICATION__ || __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_UNKNOWN__
25inline void __show_generic_exception_message__(
const std::exception& e) {std::cerr << std::endl << xtd::string::format(
"Unhandled exception: {}",
dynamic_cast<const xtd::exception*
>(&e) ?
static_cast<const xtd::exception&
>(e).
to_string() :
e.what()) << std::endl;}
26inline void __show_generic_exception_message__() { std::cerr << std::endl << xtd::string::format(
"Unhandled exception: Unknown exception occurred") << std::endl;}
Contains xtd::forms::application class.
Defines the base class for predefined exceptions in the xtd namespace.
Definition exception.hpp:30
Contains xtd::exception exception.
Contains xtd::forms::exception_box dialog.
@ show
Display the hot-key prefix.
Definition hotkey_prefix.hpp:24
@ e
The E key.
Definition console_key.hpp:96
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
string to_string() const noexcept override
Returns the string representation of this xtd::read_only_span <type_t> object.
Definition read_only_span.hpp:375
Contains xtd::string alias.
Contains target id definitions.