diff options
Diffstat (limited to 'modules/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.cpp')
-rw-r--r-- | modules/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.cpp b/modules/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.cpp new file mode 100644 index 00000000000..e3b4bb4b7a7 --- /dev/null +++ b/modules/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.cpp @@ -0,0 +1,28 @@ +// -*- C++ -*- +// $Id$ + +#include "ami4ccm/ami4ccm.h" + +#include "tao/debug.h" + +ACE_RCSID (ami4ccm, + ami4ccm, + "$Id$") + +CCM_AMI::ExceptionHolder_i::ExceptionHolder_i (::Messaging::ExceptionHolder* holder) + : holder_ (holder) +{ +} + +void +CCM_AMI::ExceptionHolder_i::raise_exception (void) +{ + if (holder_) + { + holder_->raise_exception (); + } + else + { + throw ::CORBA::UNKNOWN (TAO::VMCID, CORBA::COMPLETED_YES); + } +} |