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 | 4794794045f1d305dbcaf4967c36d623e1fc5781 (patch) | |
tree | 5f01817c5309b2e3face95d6dd57613ca5d64f2c /TAO/tao/Exception.h | |
parent | 4e7a8b9cbe9e2d3ccea5d09192bc1338df2eeb94 (diff) | |
download | ATCD-4794794045f1d305dbcaf4967c36d623e1fc5781.tar.gz |
ChangeLogTag: Wed Apr 19 14:18:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/Exception.h')
-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); |