00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file ExceptionA.h 00006 * 00007 * $Id: ExceptionA.h 76962 2007-02-08 16:29:30Z johnnyw $ 00008 * 00009 * This file defines way in which CORBA exceptions are reported. 00010 * 00011 * @author DOC Group at Vanderbilt U., Wash U, and UCI 00012 */ 00013 //============================================================================= 00014 00015 #ifndef TAO_EXCEPTIONA_H 00016 #define TAO_EXCEPTIONA_H 00017 00018 #include /**/ "ace/pre.h" 00019 00020 // Do not try removing this. If you remove this for subsetting lots of 00021 // things go wrong in TAO. 00022 #include "tao/orbconf.h" 00023 00024 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00025 # pragma once 00026 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00027 00028 #include "tao/AnyTypeCode/TAO_AnyTypeCode_Export.h" 00029 #include "tao/Exception.h" 00030 00031 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00032 00033 namespace CORBA 00034 { 00035 class Any; 00036 typedef Any *Any_ptr; 00037 } 00038 00039 TAO_AnyTypeCode_Export void operator<<= (CORBA::Any &, const CORBA::Exception &); 00040 TAO_AnyTypeCode_Export void operator<<= (CORBA::Any &, CORBA::Exception *); 00041 00042 TAO_END_VERSIONED_NAMESPACE_DECL 00043 00044 #include /**/"ace/post.h" 00045 00046 #endif /* TAO_EXCEPTIONA_H */