blob: 35fb4a4f8e6e54ea73cf3703b2a9b3b0e8b0c919 (
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"
#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)
ACE_THROW_SPEC ((CORBA::SystemException))
{
return x;
}
CORBA::Long
Simple_Server_i::test_raise (CORBA::Long)
ACE_THROW_SPEC ((Simple_Server::Failure))
{
throw Simple_Server::Failure ();
}
void
Simple_Server_i::shutdown (void)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->orb_->shutdown ();
}
|