summaryrefslogtreecommitdiff
path: root/TAO/tao/Exception.i
blob: a629b7b13d22d13480449d5125fac93da2a670af (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
38
39
40
41
42
43
44
45
// This may look like C, but it's really -*- C++ -*-
// $Id$

ACE_INLINE void *
CORBA_Exception::operator new (size_t,
                               const void *p)
{
  return (void *) p;
}

ACE_INLINE
CORBA_UserException::CORBA_UserException (const CORBA_UserException &src)
  : CORBA_Exception (src)
{
}

ACE_INLINE CORBA::ULong
CORBA_SystemException::minor (void) const
{
  return this->minor_;
}

ACE_INLINE void
CORBA_SystemException::minor (CORBA::ULong m)
{
  this->minor_ = m;
}

ACE_INLINE CORBA::CompletionStatus
CORBA_SystemException::completion (void) const
{
  return this->completed_;
}

ACE_INLINE void
CORBA_SystemException::completion (CORBA::CompletionStatus c)
{
  this->completed_ = c;
}

ACE_INLINE
CORBA::Exception_ptr CORBA_Environment::exception (void) const
{
  return this->exception_;
}