summaryrefslogtreecommitdiff
path: root/TAO/tao/SystemException.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/SystemException.h')
-rw-r--r--TAO/tao/SystemException.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/TAO/tao/SystemException.h b/TAO/tao/SystemException.h
index 9a1da6ec170..f52e0414820 100644
--- a/TAO/tao/SystemException.h
+++ b/TAO/tao/SystemException.h
@@ -27,13 +27,9 @@
#include "tao/Exception.h"
#ifndef TAO_Exception_Export
-# if (__GNUC__ > 3)
-// Exceptions found in DLL A but potentially thrown in DLL B must
-// always be exported.
# define TAO_Exception_Export ACE_Proper_Export_Flag
# else
# define TAO_Exception_Export TAO_Export
-# endif /* __GNUC__ > 3*/
#endif /* !TAO_Exception_Export */
#ifdef THREAD_CANCELLED
@@ -59,7 +55,7 @@ namespace CORBA
namespace TAO
{
- typedef CORBA::SystemException* (*excp_factory)(void);
+ typedef CORBA::SystemException* (*excp_factory)();
}
namespace CORBA
@@ -103,16 +99,16 @@ namespace CORBA
SystemException (const SystemException & src);
/// Destructor.
- virtual ~SystemException (void);
+ virtual ~SystemException ();
/// Get the minor status.
- ULong minor (void) const;
+ ULong minor () const;
/// Set the minor status.
void minor (ULong m);
/// Get the completion status.
- CORBA::CompletionStatus completed (void) const;
+ CORBA::CompletionStatus completed () const;
/// Set the operation completion status.
void completed (CORBA::CompletionStatus c);
@@ -123,7 +119,7 @@ namespace CORBA
/// The const version of narrow operation to a SystemException
static const SystemException *_downcast(const CORBA::Exception *exception);
- virtual void _raise (void) const = 0;
+ virtual void _raise () const = 0;
// = TAO-specific extension.
@@ -133,7 +129,7 @@ namespace CORBA
/// Returns a string containing information about the exception. This
/// function is not CORBA compliant.
- virtual ACE_CString _info (void) const;
+ virtual ACE_CString _info () const;
virtual void _tao_encode (TAO_OutputCDR &cdr) const;
@@ -147,12 +143,12 @@ namespace CORBA
static CORBA::ULong _tao_errno (int errno_value);
/// Deep copy
- virtual CORBA::Exception *_tao_duplicate (void) const;
+ virtual CORBA::Exception *_tao_duplicate () const;
protected:
/// Default constructor.
- SystemException (void);
+ SystemException ();
/// Assignment operator.
SystemException & operator= (const SystemException &src);