33#undef __XTD_CORE_INTERNAL__
44#include " ../../../include/xtd/collections/generic/key_not_found_exception.hpp"
55#include " ../../../include/xtd/diagnostics/stack_frame.hpp"
6+ #include " ../../../include/xtd/io/directory_not_found_exception.hpp"
67#include " ../../../include/xtd/io/end_of_stream_exception.hpp"
78#include " ../../../include/xtd/io/file_not_found_exception.hpp"
89#include " ../../../include/xtd/io/io_exception.hpp"
10+ #include " ../../../include/xtd/io/path_too_long_exception.hpp"
911#include " ../../../include/xtd/argument_exception.hpp"
1012#include " ../../../include/xtd/argument_null_exception.hpp"
1113#include " ../../../include/xtd/argument_out_of_range_exception.hpp"
1618#include " ../../../include/xtd/not_implemented_exception.hpp"
1719#include " ../../../include/xtd/null_pointer_exception.hpp"
1820#include " ../../../include/xtd/overflow_exception.hpp"
21+ #include " ../../../include/xtd/platform_not_supported_exception.hpp"
1922#include " ../../../include/xtd/rank_exception.hpp"
2023#include " ../../../include/xtd/typeof.hpp"
24+ #include " ../../../include/xtd/unauthorized_access_exception.hpp"
2125
2226using namespace xtd ;
2327using namespace xtd ::collections::generic;
@@ -36,6 +40,7 @@ void throw_helper::throws(enum exception_case exception_case, const source_locat
3640 case exception_case::argument: throw argument_exception {to_stack_frame (location)};
3741 case exception_case::argument_null: throw argument_null_exception {to_stack_frame (location)};
3842 case exception_case::argument_out_of_range: throw argument_out_of_range_exception {to_stack_frame (location)};
43+ case exception_case::directory_not_found: throw directory_not_found_exception {to_stack_frame (location)};
3944 case exception_case::end_of_stream: throw end_of_stream_exception {to_stack_frame (location)};
4045 case exception_case::file_not_found: throw file_not_found_exception {to_stack_frame (location)};
4146 case exception_case::format: throw format_exception {to_stack_frame (location)};
@@ -51,7 +56,10 @@ void throw_helper::throws(enum exception_case exception_case, const source_locat
5156 case exception_case::not_implemented: throw not_implemented_exception {to_stack_frame (location)};
5257 case exception_case::null_pointer: throw null_pointer_exception {to_stack_frame (location)};
5358 case exception_case::overflow: throw overflow_exception {to_stack_frame (location)};
59+ case exception_case::path_too_long: throw path_too_long_exception {to_stack_frame (location)};
60+ case exception_case::platform_not_supported: throw platform_not_supported_exception {to_stack_frame (location)};
5461 case exception_case::rank: throw rank_exception {to_stack_frame (location)};
62+ case exception_case::unauthorized_access: throw unauthorized_access_exception {to_stack_frame (location)};
5563 default : throw argument_exception {" Invalid xtd::helpers::exception_case value" };
5664 }
5765}
@@ -62,6 +70,7 @@ void throw_helper::throws(enum exception_case exception_case, const char* messag
6270 case exception_case::argument: throw argument_exception {message, to_stack_frame (location)};
6371 case exception_case::argument_null: throw argument_null_exception {message, to_stack_frame (location)};
6472 case exception_case::argument_out_of_range: throw argument_out_of_range_exception {message, to_stack_frame (location)};
73+ case exception_case::directory_not_found: throw directory_not_found_exception {message, to_stack_frame (location)};
6574 case exception_case::end_of_stream: throw end_of_stream_exception {message, to_stack_frame (location)};
6675 case exception_case::file_not_found: throw file_not_found_exception {message, to_stack_frame (location)};
6776 case exception_case::format: throw format_exception {message, to_stack_frame (location)};
@@ -77,7 +86,10 @@ void throw_helper::throws(enum exception_case exception_case, const char* messag
7786 case exception_case::not_implemented: throw not_implemented_exception {message, to_stack_frame (location)};
7887 case exception_case::null_pointer: throw null_pointer_exception {message, to_stack_frame (location)};
7988 case exception_case::overflow: throw overflow_exception {message, to_stack_frame (location)};
89+ case exception_case::path_too_long: throw path_too_long_exception {message, to_stack_frame (location)};
90+ case exception_case::platform_not_supported: throw platform_not_supported_exception {message, to_stack_frame (location)};
8091 case exception_case::rank: throw rank_exception {message, to_stack_frame (location)};
92+ case exception_case::unauthorized_access: throw unauthorized_access_exception {message, to_stack_frame (location)};
8193 default : throw argument_exception {" Invalid xtd::helpers::exception_case value" };
8294 }
8395}
0 commit comments