xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
uri_template_match_exception.hpp
Go to the documentation of this file.
1
3
#pragma once
4
#include "
system_exception.hpp
"
5
7
namespace
xtd
{
14
class
uri_template_match_exception
:
public
system_exception
{
15
public
:
17
22
explicit
uri_template_match_exception
(
const
xtd::diagnostics::stack_frame
& stack_frame =
xtd::diagnostics::stack_frame::current
());
26
explicit
uri_template_match_exception
(
const
std::optional<xtd::string>&
message
,
const
xtd::diagnostics::stack_frame
& stack_frame =
xtd::diagnostics::stack_frame::current
());
31
template
<
typename
exception_t>
32
uri_template_match_exception
(
const
std::optional<xtd::string>&
message
,
const
exception_t&
inner_exception
,
const
xtd::diagnostics::stack_frame
& stack_frame =
xtd::diagnostics::stack_frame::current
()) :
xtd
::
system_exception
(
message
,
inner_exception
, stack_frame) {}
34
36
uri_template_match_exception
(
const
uri_template_match_exception
&) =
default
;
37
uri_template_match_exception
& operator =(
const
uri_template_match_exception
&) =
default
;
39
};
40
}
xtd::diagnostics::stack_frame
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition
stack_frame.hpp:46
xtd::diagnostics::stack_frame::current
static auto current(const xtd::diagnostics::source_location &value=xtd::diagnostics::source_location::current()) noexcept -> xtd::diagnostics::stack_frame
Crates a new xtd::diagnostics::stack_frame object corresponding to the location of the call site.
xtd::exception::inner_exception
virtual auto inner_exception() const noexcept -> exception_ref
Gets the exception instance that caused the current exception.
xtd::exception::message
virtual auto message() const noexcept -> const xtd::string &
Gets message associate to the exception.
xtd::system_exception::system_exception
system_exception(const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class xtd::system_exception.
xtd::uri_template_match_exception
Represents an error when matching a Uri to a UriTemplateTable.
Definition
uri_template_match_exception.hpp:14
xtd::uri_template_match_exception::uri_template_match_exception
uri_template_match_exception(const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class uri_template_match_exception.
xtd::uri_template_match_exception::uri_template_match_exception
uri_template_match_exception(const std::optional< xtd::string > &message, const exception_t &inner_exception, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class uri_template_match_exception.
Definition
uri_template_match_exception.hpp:32
xtd::uri_template_match_exception::uri_template_match_exception
uri_template_match_exception(const std::optional< xtd::string > &message, const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class uri_template_match_exception.
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
system_exception.hpp
Contains xtd::system_exception exception.
Generated on
for xtd by
Gammasoft
. All rights reserved.