// test_i.cpp,v 1.8 2001/08/12 13:46:38 bala Exp

#include "test_i.h"

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

ACE_RCSID(Native_Exceptions, test_i, "test_i.cpp,v 1.8 2001/08/12 13:46:38 bala Exp")

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 x)
  ACE_THROW_SPEC ((Simple_Server::Failure))
{
  ACE_UNUSED_ARG (x);
  throw Simple_Server::Failure ();

# if defined (WIN32) || defined (__HP_aCC)
  return x;
#endif /*WIN32 & HP */
}

void
Simple_Server_i::shutdown (void)
  ACE_THROW_SPEC ((CORBA::SystemException))
{
  this->orb_->shutdown ();
}
