diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-02-13 18:28:04 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-02-13 18:28:04 +0000 |
commit | 68a1dc811d7cd8031e9948075cc1d365063acaa3 (patch) | |
tree | 1a6376a853027fdc70945ee396d01693a8bd8b29 /TAO/tao/Exception.cpp | |
parent | 15af8db2558a0c968cea0ed0a2353a6c12741967 (diff) | |
download | ATCD-68a1dc811d7cd8031e9948075cc1d365063acaa3.tar.gz |
ChangeLogTag: Fri Feb 13 12:19:58 2004 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Exception.cpp')
-rw-r--r-- | TAO/tao/Exception.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/TAO/tao/Exception.cpp b/TAO/tao/Exception.cpp index 9727c96c138..6ce37bd4e65 100644 --- a/TAO/tao/Exception.cpp +++ b/TAO/tao/Exception.cpp @@ -10,6 +10,7 @@ #include "Typecode.h" #include "ORB_Constants.h" #include "TC_Constants_Forward.h" +#include "debug.h" #include "ace/Malloc.h" #include "ace/SString.h" @@ -142,6 +143,14 @@ CORBA::Exception::_name (void) const CORBA::TypeCode_ptr CORBA::Exception::_type (void) const { + if (TAO_debug_level > 0) + { + ACE_DEBUG ((LM_DEBUG, + ACE_LIB_TEXT ("This TAO-specific method is now") + ACE_LIB_TEXT (" deprecated and will be removed") + ACE_LIB_TEXT (" in future versions.\n"))); + } + return CORBA::TypeCode::_nil (); } |