Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest from coda-oss and nitro #510

Merged
merged 330 commits into from
Dec 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
330 commits
Select commit Hold shift + click to select a range
79aa44f
add another unit-test (#371)
Nov 30, 2020
4538574
remove some compiler warnings (#372)
Dec 1, 2020
f1b6d22
update externals (#373)
Dec 1, 2020
b03c979
use c++11 features (#374)
Dec 2, 2020
48deaeb
latest "nitro" (#375)
Dec 5, 2020
10df67a
latest from "coda-oss" (#376)
Dec 5, 2020
d038e0e
more use of C++11 (#377)
Dec 5, 2020
ef45d66
fix build errors from recent changes (#378)
Dec 5, 2020
37f1620
NULL -> nullptr (#379)
Dec 5, 2020
e2084e8
latest from coda-oss (#381)
Dec 5, 2020
12f6f27
latest from develop/jdsmith (#382)
Dec 5, 2020
a2d5396
latest from "nitro" (#383)
Dec 5, 2020
514403d
latest from develop/jdsmith (#385)
Dec 8, 2020
f990e77
latest from "nitro" (#387)
Dec 19, 2020
6ba3ffd
latest changes from develop/jdsmith (#386)
Dec 19, 2020
f217f23
update externals (#388)
Dec 19, 2020
433e819
reduce use of toString() (#389)
Dec 22, 2020
21e2b67
latest from coda-oss (#390)
Dec 29, 2020
825a667
latest from coda-oss and nitro (#391)
Dec 30, 2020
f283be3
update coda-oss with latest from https://github.com/mdaus/coda-oss
Jan 9, 2021
ae630e6
update externals/nitro/docs
Jan 9, 2021
0b99300
latest from "nitro"
Jan 9, 2021
db45e1e
Revert "latest from "nitro""
Jan 11, 2021
e89da71
latest from nitro/master
Jan 11, 2021
3adb502
ignore build/ directory
Jan 11, 2021
89522fe
Revert "latest from nitro/master"
Jan 11, 2021
e82f28c
update externals/nitro/docs
Jan 11, 2021
8fe3028
update "c", "java", "mex", and "python" directories -- but not "c++"
Jan 11, 2021
b3c1dbd
update other nitro top-level files ... everything except modules/c++
Jan 11, 2021
a398eef
VCXPROJ files from nitro
Jan 11, 2021
7a9b240
several changes from nitro/c++ ... hoping this builds.
Jan 11, 2021
a688092
fix build error on Linux
Jan 11, 2021
84db123
more changes from nitro/modules/c++
Jan 11, 2021
7aba3b8
fix IOStreamWriter ctor
Jan 11, 2021
d9a5c2f
more changes from nitro/modules/c++
Jan 11, 2021
5e5870f
paths are wrong when in "externals"
Jan 11, 2021
7b8ca70
remove externals/nitro/docs
Jan 11, 2021
92d5bb5
Merge branch 'develop/update_externals' of github.com:ngageoint/six-l…
Jan 11, 2021
e6a58a2
slam in "main"
Jan 12, 2021
65026c2
latest from coda-oss/main
Jan 12, 2021
99a0a01
adjust coda-oss for our usage
Jan 12, 2021
4e6a752
latest from nitro/main
Jan 12, 2021
1bd0cb3
std::span removed from "nitro"
Jan 12, 2021
fa19905
need to redo C++17
Jan 12, 2021
120ee00
fix missing #include file
Jan 13, 2021
da30b96
remove "nitro" files not needed in externals/nitro
Jan 13, 2021
dd710d5
paths are wrong in "externals"
Jan 13, 2021
e69391b
Revert "remove "nitro" files not needed in externals/nitro"
Jan 13, 2021
436986f
Revert "Revert "remove "nitro" files not needed in externals/nitro""
Jan 13, 2021
ebe9550
slam in externals as merging creates too many conflicts
Jan 13, 2021
4e23991
Merge branch 'develop/update_externals' into main
Jan 13, 2021
6de2fa0
merge brought back a deleted #include
Jan 13, 2021
1073b39
add back "java" and "mex"
Jan 16, 2021
6fca258
lates from coda-oss/main
Jan 16, 2021
1083ac1
latest from "nitro"
Jan 16, 2021
e21d4fc
paths are wrong in "externals"
Jan 16, 2021
9e21803
need to redo C++17 support
Jan 16, 2021
c10f233
std::span -> gsl::span
Jan 16, 2021
f897082
Merge branch 'master' into develop/update_externals
Jan 19, 2021
fa0a138
Revert "std::span -> gsl::span"
Jan 19, 2021
b856b54
latest from coda-oss and nitro
Jan 19, 2021
70a3e72
these are the correct files from "master"
Jan 19, 2021
8242847
gsl::span -> std::span
Jan 19, 2021
0ec8633
get #includes right for PCH
Jan 19, 2021
460a96b
didn't want this change
Jan 19, 2021
671a89a
trigger build on GitHub
Jan 19, 2021
0ecff95
remove files that shouldn't have been committed
Jan 19, 2021
f99597a
Merge branch 'master' into develop/update_externals
Jan 26, 2021
4b40305
latest from coda-oss:master
Jan 27, 2021
f204751
latest from nitro::master
Jan 27, 2021
bc1744e
adjust to API changes in coda-oss/xml.lite
Jan 27, 2021
9dd7e36
Merge branch 'master' into develop/update_externals
Jan 27, 2021
6a3859f
latest from coda-oss
Jan 27, 2021
f13785c
latest from coda-oss
Jan 30, 2021
96918da
std::filesystem::path doesn't implicitly convert to std::string
Jan 30, 2021
6ba97c6
more place where an explicit std::filesystem::path::string() call is …
Jan 30, 2021
42c63d0
Merge branch 'master' into develop/update_externals
Feb 1, 2021
f616a8e
latest from "coda-oss" and "nitro"
Feb 1, 2021
805b4fd
Merge branch 'master' into develop/update_externals
Feb 2, 2021
a181f34
Merge branch 'master' into develop/update_externals
Feb 9, 2021
ee7b563
latest from coda-oss
Feb 9, 2021
92ab24a
one more change from coda-oss
Feb 9, 2021
9ef79c0
Merge branch 'master' into develop/update_externals
Feb 9, 2021
98df1ed
"nitro" changes to build with C90 instead of C99
Feb 9, 2021
c2a9909
old C++11 compilers don't like template<template>
Feb 9, 2021
00b6e23
new TREs from "nitro"
Feb 9, 2021
969cd6f
std::shared_ptr<> doesn't have [] versions, only std::unique_ptr
Feb 9, 2021
5d113a4
build with older compilers
Feb 10, 2021
67b5666
Merge branch 'master' into develop/update_externals
Feb 15, 2021
0c8be8e
latest coda-oss changes
Feb 15, 2021
e846b94
Update .gitignore from "nitro"
Feb 15, 2021
93d6814
Merge branch 'develop/update_externals' of github.com:ngageoint/six-l…
Feb 15, 2021
9bc5b4c
Merge branch 'master' into develop/update_externals
Feb 23, 2021
f64bd71
SWIG doesn't like "final"
Feb 23, 2021
6dfeb85
SWIG doesn't like "final"
Feb 23, 2021
241b4f5
Merge branch 'master' into develop/update_externals
Feb 23, 2021
af2417e
Merge branch 'master' into develop/update_externals
Mar 2, 2021
07ba711
latest from coda_oss
Mar 2, 2021
5dcd930
latest from "nitro"
Mar 2, 2021
9f26eed
Merge branch 'master' into develop/update_externals
Mar 6, 2021
cb99d69
add a version number to externals/coda-oss
Mar 6, 2021
a675370
add a version number to externals/nitro
Mar 6, 2021
25cd85e
restore "build" and "cmake"
Mar 6, 2021
2b4e00a
Gsl_.h got lost ... ?
Mar 6, 2021
f4e67de
Merge branch 'master' into develop/update_externals
Mar 6, 2021
abe6a56
update CMS to 3.0.3.3 (https://github.com/ngageoint/six-library/issue…
Mar 6, 2021
5283b31
remove version numbers (for now); we've went a very long time w/o them
Mar 8, 2021
b69e63a
finish rename
Mar 8, 2021
f84a172
version number is in too many places ...
Mar 8, 2021
9825b7d
missing .cmake files
Mar 8, 2021
2d5f38d
missing "build" files
Mar 8, 2021
a0206cf
Merge branch 'master' into develop/update_externals
Mar 8, 2021
a22422a
latest from coda-oss
Mar 16, 2021
cc369cc
Merge branch 'master' into develop/update_externals
Mar 22, 2021
4db1a4b
latest from "master" on coda-oss
Mar 22, 2021
5aa2efb
latest from "master" at nitro
Mar 22, 2021
cdb74ed
Merge branch 'master' into develop/update_externals
Mar 22, 2021
77b0b65
remove CA diagnostics from coda-oss
Mar 22, 2021
77276c1
Merge branch 'master' into develop/update_externals
Mar 22, 2021
eeba5b8
CODA_OSS_AUGMENT_std_namespace got clobbered again
Mar 24, 2021
c1f2b32
update coda-oss and nitro
Mar 24, 2021
fd1485f
be sure coda-oss "std" files are copied
Mar 24, 2021
30afeea
use new coda-oss "std" headers
Mar 24, 2021
dfff3e6
more coda-oss changes
Mar 24, 2021
b00fab7
updates from coda-oss and nitro
Mar 24, 2021
a9d7356
latest from coda-oss
Mar 24, 2021
a22f195
fix coda-oss unittest dependencies
Mar 24, 2021
3d28513
WAF dependencies for "scene"
Mar 24, 2021
899e615
sys/Filesystem.h -> std/filesystem
Mar 27, 2021
1005fb0
build using C++17 features
Mar 27, 2021
ab1348f
account for removed coda-oss overloads
Mar 27, 2021
f819681
Merge branch 'master' into develop/update_externals
Mar 27, 2021
f105c98
add back coda_oss;;filesystem::path
Mar 27, 2021
78ec6f6
Merge branch 'master' into develop/update_externals
Mar 27, 2021
1dfc034
forgot to add new "coda_oss" directory
Mar 27, 2021
0319e70
Merge branch 'master' into develop/update_externals
Mar 27, 2021
7cd31db
Merge branch 'master' into develop/update_externals
Apr 3, 2021
c773661
latest from "coda-oss" and "nitro"
Apr 5, 2021
6c8bb00
Merge branch 'master' into develop/update_externals
Apr 6, 2021
89898de
tweaks to python wrappers from coda-oss
Apr 6, 2021
582f71a
updates from coda-oss to remove compiler warnings
Apr 13, 2021
37b4a36
another update to coda-oss to get rid of code-analysis diagnostics
Apr 13, 2021
74491f1
Merge branch 'master' into develop/update_externals
Apr 14, 2021
d30e0ab
latest from coda-oss
Apr 14, 2021
e70e257
coda-oss updates to reduce compiler warnings/code-analysis diagnostics
Apr 14, 2021
445cf74
latest from coda-oss to reduce compiler warnings
Apr 14, 2021
8e15275
more code-analysis diagnostics fixes from coda-oss
Apr 17, 2021
24e1ee5
latest from coda-oss
Apr 17, 2021
09ffddb
updates from "nitro"
Apr 19, 2021
fc46c9f
lost sys/Conf.h #include
Apr 19, 2021
0b2b871
latest from coda-oss and nitro
Apr 20, 2021
733a255
latest from nitro
Apr 20, 2021
dc070a1
latest from coda-oss
Apr 26, 2021
5df9163
updates from "nitro"
Apr 26, 2021
f20557a
Merge branch 'master' into develop/update_externals
May 3, 2021
9faad06
latest from "nitro" to support nitf-c++ as a DLL/shared-library
May 3, 2021
f273b6d
build w/o errors when nitf-c++ is a DLL
May 3, 2021
5ace9f9
explicitly list SegmentMemorySource() overloads
May 3, 2021
0591d37
latest from coda-oss to get rid of more compiler warnings/code-analys…
May 4, 2021
2bb3a4e
Merge branch 'master' into develop/update_externals
May 8, 2021
a4f624b
be sure NITRO validation changes don't break SIX unittests
May 8, 2021
ef2d1fe
build NITRO @ /W4
May 11, 2021
0314b79
Merge branch 'master' into develop/update_externals
May 17, 2021
df166d5
latest from "nitro" and "coda-oss"
May 17, 2021
6a294c9
Merge branch 'master' into develop/update_externals
May 19, 2021
433aa81
reduce use of .c_str() in "nitro"
May 19, 2021
dfb69ca
changes from coda-oss to reduce code-analysis diagnostics
May 24, 2021
cc2d054
Merge branch 'master' into develop/update_externals
May 24, 2021
9c99881
Merge branch 'master' into develop/update_externals
May 24, 2021
4b89b4f
tweaks for VS2019 16.10
May 26, 2021
5a8c6a5
latest from nitro and coda-oss
May 27, 2021
10015fe
Merge branch 'master' into develop/update_externals
May 27, 2021
aef4a22
latest from coda-oss
Jun 10, 2021
f4c89c4
latest from NITRO
Jun 10, 2021
0103074
Merge branch 'master' into develop/update_externals
Jun 17, 2021
86feacf
latest from coda-oss
Jun 17, 2021
5ce71b5
latest from "nitro"
Jun 17, 2021
3681b85
getCornersAsLatLons should be w/o "const"
Jun 17, 2021
d9fd3dd
Merge branch 'master' into develop/update_externals
Jun 23, 2021
e219ad8
latest from coda-oss
Jun 23, 2021
1b15d83
Merge branch 'master' into develop/update_externals
Aug 4, 2021
de9ae8c
latest from coda-oss
Aug 4, 2021
da2932b
latest from "nitro"
Aug 4, 2021
06fae55
Merge branch 'master' into develop/update_externals
Aug 11, 2021
7c3ab64
latest from coda-oss
Aug 11, 2021
1b96c7c
latest from "nitro"
Aug 11, 2021
bf3a418
Merge branch 'master' into develop/update_externals
Aug 16, 2021
76a7a17
latest from coda-oss
Aug 16, 2021
76a8924
mem::ScopedArray<T> is now the same as std::unique_ptr<T[]>
Aug 16, 2021
4c2b652
Merge branch 'master' into develop/update_externals
Aug 25, 2021
9cd3c09
latest from coda-oss
Aug 25, 2021
c57cd95
latest from "nitro"
Aug 25, 2021
99ae196
account for NITRO changes
Aug 25, 2021
73e77a8
Merge branch 'master' into develop/update_externals
Aug 25, 2021
1096f4f
latest from nitro and coda-oss
Aug 25, 2021
ee48c04
Merge branch 'master' into develop/update_externals
Aug 31, 2021
0527a62
latest from coda-oss
Aug 31, 2021
a18a30e
latest from "nitro"
Aug 31, 2021
3bc3f99
Merge branch 'master' into develop/update_externals
Sep 17, 2021
fc25dcb
Squashed commit of the following:
Sep 17, 2021
52e04e9
latest from coda-oss
Sep 17, 2021
96b5ecf
latest from "nitro"
Sep 17, 2021
23d1de1
Merge branch 'master' into develop/update_externals
Oct 4, 2021
57eb517
latest from coda-oss
Oct 4, 2021
72593d7
latest from "nitro"
Oct 4, 2021
2334434
build against CMake-generated coda-oss
Oct 4, 2021
3fdb025
Merge branch 'master' into develop/update_externals
Oct 11, 2021
e94085a
latest auto_ptr changes from coda-oss
Oct 11, 2021
78458fe
latest from "nitro"
Oct 12, 2021
6700225
fix compile errors
Oct 12, 2021
8223c87
Merge branch 'master' into develop/update_externals
Oct 18, 2021
de1bd4a
latest from coda-oss
Oct 18, 2021
2960305
latest from "nitro"
Oct 19, 2021
225f5d3
latest from coda-oss and nitro
Oct 20, 2021
ace6d51
use enums
Oct 20, 2021
6e77677
Merge branch 'master' into develop/update_externals
Oct 20, 2021
7b0c4f6
Merge branch 'master' into develop/update_externals
Nov 1, 2021
2b91e77
latest changes from coda-oss
Nov 1, 2021
65b8b0c
latest from coda-oss
Nov 1, 2021
38e154f
update coda-oss and nitro version numbers
Nov 1, 2021
58806aa
update SIX version number
Nov 1, 2021
e4c3460
Merge branch 'master' into develop/update_externals
Nov 9, 2021
b9e451e
latest from coda_oss
Nov 9, 2021
08375cc
latest from "nitro"
Nov 9, 2021
81a20ca
Merge branch 'master' into develop/update_externals
Nov 10, 2021
49b645d
account for coda-oss changes to sys::Filesystem
Nov 10, 2021
1ea39c0
We're at CMAKE 3.14
Nov 10, 2021
1686401
these unittests don't work when nested# Please enter the commit messa…
Nov 10, 2021
e1a3541
getting 'noexcept' exactly right is difficult
Nov 10, 2021
3a0734d
getting 'noexcept' exactly right is difficult
Nov 10, 2021
268441b
getting 'noexcept' exactly right is difficult
Nov 10, 2021
a7edb41
account for sys::Filesystem changes
Nov 10, 2021
a511a1b
latest from coda-oss
Nov 10, 2021
f046c62
partial update from "nitro"
Nov 10, 2021
2ebac5a
Merge branch 'master' into develop/update_externals
Nov 10, 2021
19e3f3b
trying to consume "noexcept" changes from NITRO
Nov 10, 2021
4c81efe
=default doesn't play very well with 'noexecpt'
Nov 10, 2021
95a4398
another 'noexcept' fix
Nov 10, 2021
ad4b275
Merge branch 'master' into develop/update_externals
Nov 16, 2021
49a6118
latest from coda-oss
Nov 16, 2021
b987a81
latest from "nitro"
Nov 16, 2021
4a5b717
Squashed commit of the following:
Nov 16, 2021
bef8700
Merge branch 'master' into develop/update_externals
Nov 16, 2021
34ec62c
latest from coda-oss and nitro
Nov 16, 2021
a9cb7ea
Merge branch 'master' into develop/update_externals
Nov 16, 2021
63c7611
Merge branch 'master' into develop/update_externals
Dec 1, 2021
19ddbff
latest from coda-oss and nitro
Dec 1, 2021
973e80d
latest from "nitro"
Dec 6, 2021
c0a3394
latest from coda-oss
Dec 7, 2021
83968e4
latest from coda-oss and nitro
Dec 7, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 57 additions & 8 deletions externals/coda-oss/modules/c++/except/include/except/Error.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,24 @@
/*!
* Useful macro for defining Exception classes
*/
#define DECLARE_EXTENDED_ERROR(_Name, _Base) \
struct _Name##Error : public _Base \
#define DECLARE_EXTENDED_ERROR_(_Name, Error_, _Base, getType_specifiers) \
struct _Name##Error_ : public _Base \
{ \
_Name##Error() = default; virtual ~_Name##Error() = default; \
_Name##Error(const except::Context& c) : _Base(c){} \
_Name##Error(const std::string& msg) : _Base(msg){} \
_Name##Error(const except::Throwable& t, const except::Context& c) : _Base(t, c){} \
std::string getType() const override { return #_Name; } \
_Name##Error_() = default; virtual ~_Name##Error_() = default; \
_Name##Error_(const except::Context& c) : _Base(c){} \
_Name##Error_(const std::string& msg) : _Base(msg){} \
_Name##Error_(const except::Throwable& t, const except::Context& c) : _Base(t, c){} \
_Name##Error_(const except::Throwable11& t, const except::Context& c) : _Base(t, c){} \
std::string getType() getType_specifiers { return #_Name; } \
};
#define DECLARE_EXTENDED_ERROR(_Name, _Base) \
DECLARE_EXTENDED_ERROR_(_Name, Error, _Base, const override)
#define DECLARE_EXTENDED_ERROR11(_Name, _Base) \
DECLARE_EXTENDED_ERROR_(_Name, Error11, _Base, const noexcept override)

#define DECLARE_ERROR(_Name) DECLARE_EXTENDED_ERROR(_Name, except::Error)
#define DECLARE_ERROR(_Name) \
DECLARE_EXTENDED_ERROR(_Name, except::Error); \
DECLARE_EXTENDED_ERROR11(_Name, except::Error11)

namespace except
{
Expand Down Expand Up @@ -92,13 +99,55 @@ struct Error : public Throwable
Throwable(t, c)
{
}
Error(const Throwable11& t, const Context& c) : Throwable(t, c)
{
}

std::string getType() const override
{
return "Error";
}
};

struct Error11 : public Throwable11
{
Error11() = default;
virtual ~Error11() = default;

/*!
* Constructor. Takes a Context
* \param c The Context
*/
Error11(const Context& c) : Throwable11(c)
{
}

/*!
* Constructor. Takes a message
* \param message The message
*/
Error11(const std::string& message) : Throwable11(message)
{
}

/*!
* Constructor. Takes an Throwable and a Context
* \param t The Throwable
* \param c The Context
*/
Error11(const Throwable11& t, const Context& c) : Throwable11(t, c)
{
}
Error11(const Throwable& t, const Context& c) : Throwable11(t, c)
{
}

std::string getType() const noexcept override
{
return "Error11";
}
};

/*!
* \class InvalidDerivedTypeError
* \brief Represents an invalid derived type error.
Expand Down
69 changes: 59 additions & 10 deletions externals/coda-oss/modules/c++/except/include/except/Exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,27 @@
#endif
#endif

#define DECLARE_EXTENDED_EXCEPTION(_Name, _Base) \
struct _Name##Exception : public _Base \
#define DECLARE_EXTENDED_EXCEPTION_(_Name, Exception_, _Base, getType_specifiers) \
struct _Name##Exception_ : public _Base \
{ \
_Name##Exception() = default; virtual ~_Name##Exception() = default; \
_Name##Exception(const _Name##Exception&) = default; _Name##Exception& operator=(const _Name##Exception&) = default; \
_Name##Exception(_Name##Exception&&) = default; _Name##Exception& operator=(_Name##Exception&&) = default; \
_Name##Exception(const except::Context& c) : _Base(c){} \
_Name##Exception(const std::string& msg) : _Base(msg){} \
_Name##Exception(const except::Throwable& t, const except::Context& c) : _Base(t, c){} \
_Name##Exception_() = default; virtual ~_Name##Exception_() = default; \
_Name##Exception_(const _Name##Exception_&) = default; _Name##Exception_& operator=(const _Name##Exception_&) = default; \
_Name##Exception_(_Name##Exception_&&) = default; _Name##Exception_& operator=(_Name##Exception_&&) = default; \
_Name##Exception_(const except::Context& c) : _Base(c){} \
_Name##Exception_(const std::string& msg) : _Base(msg){} \
_Name##Exception_(const except::Throwable& t, const except::Context& c) : _Base(t, c){} \
_Name##Exception_(const except::Throwable11& t, const except::Context& c) : _Base(t, c){} \
CODA_OSS_except_Exception_suppress_26447_BEGIN_ \
std::string getType() const override { return #_Name"Exception"; } \
std::string getType() getType_specifiers { return #_Name #Exception_; } \
CODA_OSS_except_Exception_suppress_26447_END_ };
#define DECLARE_EXTENDED_EXCEPTION(_Name, _Base) \
DECLARE_EXTENDED_EXCEPTION_(_Name, Exception, _Base, const override)
#define DECLARE_EXTENDED_EXCEPTION11(_Name, _Base) \
DECLARE_EXTENDED_EXCEPTION_(_Name, Exception11, _Base, const noexcept override)

#define DECLARE_EXCEPTION(_Name) DECLARE_EXTENDED_EXCEPTION(_Name, except::Exception)
#define DECLARE_EXCEPTION(_Name) \
DECLARE_EXTENDED_EXCEPTION(_Name, except::Exception) \
DECLARE_EXTENDED_EXCEPTION11(_Name, except::Exception11)

namespace except
{
Expand Down Expand Up @@ -98,6 +105,9 @@ struct Exception : public Throwable
Throwable(t, c)
{
}
Exception(const Throwable11& t, const Context& c) : Throwable(t, c)
{
}

/*!
* Constructor. Takes a message
Expand All @@ -114,6 +124,45 @@ struct Exception : public Throwable
}
};

struct Exception11 : public Throwable11
{
Exception11() = default;
virtual ~Exception11() = default;

/*!
* Constructor. Takes a Context
* \param c The Context
*/
Exception11(const Context& c) : Throwable11(c)
{
}

/*!
* Constructor. Takes an Throwable and a Context
* \param t The Throwable
* \param c The Context
*/
Exception11(const Throwable11& t, const Context& c) : Throwable11(t, c)
{
}
Exception11(const Throwable& t, const Context& c) : Throwable11(t, c)
{
}

/*!
* Constructor. Takes a message
* \param message The message
*/
Exception11(const std::string& message) : Throwable11(message)
{
}

std::string getType() const noexcept override
{
return "Exception11";
}
};

/*!
* \class IOException
* \brief Throwable related to IO problems.
Expand Down
Loading