-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rvue xtd::io::path_too_long_exception exception class
- Loading branch information
1 parent
cf3156d
commit 54b0add
Showing
4 changed files
with
336 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#include "../../../include/xtd/io/path_too_long_exception.h" | ||
|
||
using namespace xtd; | ||
using namespace xtd::diagnostics; | ||
using namespace xtd::io; | ||
|
||
path_too_long_exception::path_too_long_exception(const stack_frame& stack_frame) : io_exception(stack_frame) { | ||
error_code(h_result::make_error_code(h_result::COR_E_PATHTOOLONG)); | ||
} | ||
|
||
path_too_long_exception::path_too_long_exception(const optional<string>& message, const stack_frame& stack_frame) : io_exception(message, stack_frame) { | ||
error_code(h_result::make_error_code(h_result::COR_E_PATHTOOLONG)); | ||
} | ||
|
||
path_too_long_exception::path_too_long_exception(const string& message, const std::error_code& error, const stack_frame& stack_frame) : io_exception(message, stack_frame) { | ||
error_code(error); | ||
} | ||
|
||
path_too_long_exception::path_too_long_exception(const string& message, const string& help_link, const stack_frame& stack_frame) : io_exception(message, stack_frame) { | ||
error_code(h_result::make_error_code(h_result::COR_E_PATHTOOLONG)); | ||
this->help_link(help_link); | ||
} | ||
|
||
path_too_long_exception::path_too_long_exception(const string& message, const std::error_code& error, const string& help_link, const stack_frame& stack_frame) : io_exception(message, stack_frame) { | ||
error_code(error); | ||
this->help_link(help_link); | ||
} | ||
|
||
path_too_long_exception::path_too_long_exception(const std::exception& inner_exception, const stack_frame& stack_frame) : io_exception(stack_frame) { | ||
error_code(h_result::make_error_code(h_result::COR_E_PATHTOOLONG)); | ||
} | ||
|
||
path_too_long_exception::path_too_long_exception(const string& message, const std::exception& inner_exception, const stack_frame& stack_frame) : io_exception(message, stack_frame) { | ||
error_code(h_result::make_error_code(h_result::COR_E_PATHTOOLONG)); | ||
} | ||
|
||
path_too_long_exception::path_too_long_exception(const string& message, const std::exception& inner_exception, const std::error_code& error, const stack_frame& stack_frame) : io_exception(message, stack_frame) { | ||
error_code(error); | ||
} | ||
|
||
path_too_long_exception::path_too_long_exception(const string& message, const std::exception& inner_exception, const string& help_link, const stack_frame& stack_frame) : io_exception(message, stack_frame) { | ||
error_code(h_result::make_error_code(h_result::COR_E_PATHTOOLONG)); | ||
this->help_link(help_link); | ||
} | ||
|
||
path_too_long_exception::path_too_long_exception(const string& message, const std::exception& inner_exception, const std::error_code& error, const string& help_link, const xtd::diagnostics::stack_frame& stack_frame) : io_exception(message, stack_frame) { | ||
error_code(error); | ||
this->help_link(help_link); | ||
} |
Oops, something went wrong.