blob: e1602e2dde3da564a772863f95c28b7f8e49d3b8 (
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
25
26
27
28
29
30
31
32
|
// -*- C++ -*-
//
// $Id$
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE
TAO::CSD::TP_Cancel_Visitor::TP_Cancel_Visitor()
{
}
ACE_INLINE
TAO::CSD::TP_Cancel_Visitor::TP_Cancel_Visitor(PortableServer::Servant servant)
: servant_(servant)
{
// This try-catch block is not really necessary for current implementation
// since the _add_ref does not throw exception, but we have to add it to
// satisfy the non-exception builds. If _add_ref really throws an exception
// then this constructor needs deal with the exception.
ACE_TRY_NEW_ENV
{
this->servant_->_add_ref (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
}
ACE_CATCHALL
{
}
ACE_ENDTRY;
}
TAO_END_VERSIONED_NAMESPACE_DECL
|