xtd 0.2.0
Loading...
Searching...
No Matches
uri_format_exception.h
Go to the documentation of this file.
1
3#pragma once
4#include "format_exception.h"
5#include "literals.h"
6
8namespace xtd {
16 public:
18
27 explicit uri_format_exception(const std::optional<xtd::string>& message, const xtd::diagnostics::stack_frame& stack_frame = xtd::diagnostics::stack_frame::current());
32 template<typename exception_t>
35
38 uri_format_exception& operator =(const uri_format_exception&) = default;
40 };
41}
Provides information about a xtd::diagnostics::stack_frame, which represents a function call on the c...
Definition stack_frame.h:47
static stack_frame current(const xtd::source_location &value=xtd::source_location::current()) noexcept
Crates a new xtd::diagnostics::stack_frame object corresponding to the location of the call site.
virtual const std::error_code & error_code() const noexcept
Gets error associate to the exception.
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.
The exception that is thrown when the format of an argument does not meet the parameter specification...
Definition format_exception.h:19
static std::error_code make_error_code(int h_result) noexcept
Creates error code value for the specified HRESULT.
static constexpr int32 COR_E_FORMAT
One of the identified items was in an invalid format.
Definition h_result.h:162
The exception that is thrown when an invalid Uniform Resource Identifier (URI) is detected.
Definition uri_format_exception.h:15
uri_format_exception(const xtd::diagnostics::stack_frame &stack_frame=xtd::diagnostics::stack_frame::current())
Create a new instance of class uri_format_exception.
uri_format_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_format_exception.
Definition uri_format_exception.h:33
uri_format_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_format_exception.
Contains xtd::format_exception exception.
Contains xtd literals.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10