diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-04-19 14:18:29 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-04-19 14:18:29 +0000 |
commit | ada6ccf0e38aec198f4d8fc9804a6e47649cb7ed (patch) | |
tree | 5f01817c5309b2e3face95d6dd57613ca5d64f2c | |
parent | 1056cbfd07fdf221037f536c8a5951162dc11fc5 (diff) | |
download | ATCD-ada6ccf0e38aec198f4d8fc9804a6e47649cb7ed.tar.gz |
ChangeLogTag: Wed Apr 19 14:18:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | TAO/tao/Exception.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/TAO/tao/Exception.h b/TAO/tao/Exception.h index 99d0102e4fc..08c631d3521 100644 --- a/TAO/tao/Exception.h +++ b/TAO/tao/Exception.h @@ -97,13 +97,24 @@ namespace CORBA * (in the @c TypeCode) that are generated by any OMG-IDL compiler * and available through the Interface Repository. Think of it as a * "globally scoped" name distinguishing each exception. - */ + * + * @todo According to the OMG CORBA C++ Mapping version 1.1, + * the copy constructors + * should be moved to "protected" section in class + * declarations. Since the current MS Visual C++ 7.1 compiler + * will cause some problems to TAO's exception mechanism, we + * defer doing this until we drop support for MSVC++ 7.1. Maybe + * there is another solution, have to test that later. + */ class TAO_Export Exception { public: /// Destructor. virtual ~Exception (void); + /// Copy constructor. + Exception (const Exception &src); + // = To throw the exception (when using the standard mapping). virtual void _raise (void) const = 0; @@ -181,9 +192,6 @@ namespace CORBA /// Default constructor. Exception (void); - /// Copy constructor. - Exception (const Exception &src); - /// Assignment operator. Exception & operator = (const Exception & src); |