summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Bug_2088/Client_ORBInitializer.cpp
blob: db9719164d0df743ea48fa21109e445760d5b98d (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
33
34
35
36
37
// -*- C++ -*-
//
// $Id$
//

#include "Client_ORBInitializer.h"

ACE_RCSID (Bug_2088, Client_ORBInitializer, "$Id$")

Client_ORBInitializer::Client_ORBInitializer (void) :
  pre_init_called (false),
  post_init_called (false)
{
}

void
Client_ORBInitializer::pre_init (
    PortableInterceptor::ORBInitInfo_ptr
    ACE_ENV_ARG_DECL)
  ACE_THROW_SPEC ((CORBA::SystemException))
{
  pre_init_called = true;

  ACE_THROW (CORBA::NO_MEMORY ());
}

void
Client_ORBInitializer::post_init (
    PortableInterceptor::ORBInitInfo_ptr
    ACE_ENV_ARG_DECL)
  ACE_THROW_SPEC ((CORBA::SystemException))
{
  post_init_called = true;

  ACE_THROW (CORBA::NO_MEMORY ());
}