summaryrefslogtreecommitdiff
path: root/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.cpp
blob: 24c2880915cf50bca62534a702b2295359cfe1aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// -*- C++ -*-
// $Id$

#include "ami4ccm/ami4ccm.h"
#include "tao/debug.h"

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);
    }
}