summaryrefslogtreecommitdiff
path: root/TAO/tests/Native_Exceptions/test_i.cpp
blob: c2ed5cd8be2aa0c10e63bb1690c3beae2e8cb31b (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
// $Id$

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

#if !defined(__ACE_INLINE__)
#include "test_i.i"
#endif /* __ACE_INLINE__ */

ACE_RCSID(Native_Exceptions, test_i, "$Id$")

CORBA::Long
Simple_Server_i::test_method (CORBA::Long x)
  throw ()
{
  return x;
}

CORBA::Long
Simple_Server_i::test_raise (CORBA::Long x)
  throw (Simple_Server::Failure)
{
  throw Simple_Server::Failure ();
}

void
Simple_Server_i::shutdown (void) throw ()
{
  this->orb_->shutdown ();
}