OpenDDS  Snapshot(2023/04/28-20:55)
Macros | Variables
SystemException.cpp File Reference
#include "tao/SystemException.h"
#include "tao/ORB_Constants.h"
#include "tao/CORBA_String.h"
#include "tao/debug.h"
#include "tao/Allocation_Macros.h"
#include "ace/Malloc.h"
#include "ace/SString.h"
#include "ace/OS_NS_string.h"
#include "ace/OS_NS_stdio.h"
#include "tao/SystemException.inl"
Include dependency graph for SystemException.cpp:

Go to the source code of this file.

Macros

#define STANDARD_EXCEPTION_LIST
 
#define TAO_SYSTEM_EXCEPTION(name)   (char *) "IDL:omg.org/CORBA/" #name ":1.0",
 
#define TAO_SYSTEM_EXCEPTION(name)   &CORBA::name::_tao_create,
 
#define TAO_SYSTEM_EXCEPTION(name)
 
#define TAO_SYSTEM_EXCEPTION(name)
 
#define TAO_SYSTEM_EXCEPTION(name)
 
#define TAO_SYSTEM_EXCEPTION(name)
 
#define TAO_SYSTEM_EXCEPTION(name)
 

Variables

static const char * repo_id_array []
 
static const CORBA::ULong array_sz
 
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO::excp_factory excp_array []
 
@c errno Encoding

The errno encoding is located in the bottom 7 bits.

const CORBA::ULong TAO_UNSPECIFIED_MINOR_CODE = 0x0U
 
const CORBA::ULong TAO_ETIMEDOUT_MINOR_CODE = 0x1U
 
const CORBA::ULong TAO_ENFILE_MINOR_CODE = 0x2U
 
const CORBA::ULong TAO_EMFILE_MINOR_CODE = 0x3U
 
const CORBA::ULong TAO_EPIPE_MINOR_CODE = 0x4U
 
const CORBA::ULong TAO_ECONNREFUSED_MINOR_CODE = 0x5U
 
const CORBA::ULong TAO_ENOENT_MINOR_CODE = 0x6U
 
const CORBA::ULong TAO_EBADF_MINOR_CODE = 0x7U
 
const CORBA::ULong TAO_ENOSYS_MINOR_CODE = 0x8U
 
const CORBA::ULong TAO_EPERM_MINOR_CODE = 0x9U
 
const CORBA::ULong TAO_EAFNOSUPPORT_MINOR_CODE = 0xAU
 
const CORBA::ULong TAO_EAGAIN_MINOR_CODE = 0xBU
 
const CORBA::ULong TAO_ENOMEM_MINOR_CODE = 0xCU
 
const CORBA::ULong TAO_EACCES_MINOR_CODE = 0xDU
 
const CORBA::ULong TAO_EFAULT_MINOR_CODE = 0xEU
 
const CORBA::ULong TAO_EBUSY_MINOR_CODE = 0xFU
 
const CORBA::ULong TAO_EEXIST_MINOR_CODE = 0x10U
 
const CORBA::ULong TAO_EINVAL_MINOR_CODE = 0x11U
 
const CORBA::ULong TAO_ECOMM_MINOR_CODE = 0x12U
 
const CORBA::ULong TAO_ECONNRESET_MINOR_CODE = 0x13U
 
const CORBA::ULong TAO_ENOTSUP_MINOR_CODE = 0x14U
 

Macro Definition Documentation

◆ STANDARD_EXCEPTION_LIST

#define STANDARD_EXCEPTION_LIST

Definition at line 795 of file SystemException.cpp.

◆ TAO_SYSTEM_EXCEPTION [1/7]

#define TAO_SYSTEM_EXCEPTION (   name)    (char *) "IDL:omg.org/CORBA/" #name ":1.0",

Definition at line 924 of file SystemException.cpp.

◆ TAO_SYSTEM_EXCEPTION [2/7]

#define TAO_SYSTEM_EXCEPTION (   name)    &CORBA::name::_tao_create,

Definition at line 924 of file SystemException.cpp.

◆ TAO_SYSTEM_EXCEPTION [3/7]

#define TAO_SYSTEM_EXCEPTION (   name)
Value:
: CORBA::SystemException ("IDL:omg.org/CORBA/" #name ":1.0", \
#name, \
0, \
{ \
} \
: CORBA::SystemException ("IDL:omg.org/CORBA/" #name ":1.0", \
#name, \
code, \
completed) \
{ \
}
Christopher Diggins *renamed files *fixing compilation errors *adding Visual C project file *removed make Max Lybbert *removed references to missing and unused as reported by Andy Elvey and Dan Kosecki *resynced with Christopher Diggins s branch as it exists in tree building code is back Christopher Diggins *resynced codebase with Chris s branch *removed tree building code
Definition: CHANGELOG.txt:8
ACE_CDR::ULong ULong
const char *const name
Definition: debug.cpp:60
CompletionStatus

Definition at line 924 of file SystemException.cpp.

◆ TAO_SYSTEM_EXCEPTION [4/7]

#define TAO_SYSTEM_EXCEPTION (   name)
Value:
CORBA::TypeCode_ptr \
CORBA::name ::_tao_type (void) const \
{ \
return 0; \
}

Definition at line 924 of file SystemException.cpp.

◆ TAO_SYSTEM_EXCEPTION [5/7]

#define TAO_SYSTEM_EXCEPTION (   name)
Value:
void \
CORBA::name ::_raise (void) const \
{ \
throw *this; \
}

Definition at line 924 of file SystemException.cpp.

◆ TAO_SYSTEM_EXCEPTION [6/7]

#define TAO_SYSTEM_EXCEPTION (   name)
Value:
CORBA::name ::_tao_duplicate (void) const \
{ \
CORBA::Exception * result = 0; \
ACE_ALLOCATOR_NEW (result, CORBA::name (*this), 0); \
return result; \
}
const char *const name
Definition: debug.cpp:60

Definition at line 924 of file SystemException.cpp.

◆ TAO_SYSTEM_EXCEPTION [7/7]

#define TAO_SYSTEM_EXCEPTION (   name)
Value:
CORBA::name ::_tao_create (void) \
{ \
CORBA::name *result = 0; \
ACE_ALLOCATOR_NEW (result, CORBA::name, 0); \
return result; \
}
const char *const name
Definition: debug.cpp:60

Definition at line 924 of file SystemException.cpp.

Variable Documentation

◆ array_sz

const CORBA::ULong array_sz
static
Initial value:
=
(sizeof (repo_id_array) / sizeof (char const *)) - 1
static const char * repo_id_array[]

Definition at line 846 of file SystemException.cpp.

◆ excp_array

Initial value:
= {
#define TAO_SYSTEM_EXCEPTION(name)
0
}
#define STANDARD_EXCEPTION_LIST

Definition at line 851 of file SystemException.cpp.

◆ repo_id_array

const char* repo_id_array[]
static
Initial value:
= {
#define TAO_SYSTEM_EXCEPTION(name)
0
}
#define STANDARD_EXCEPTION_LIST

Definition at line 837 of file SystemException.cpp.

◆ TAO_EACCES_MINOR_CODE

const CORBA::ULong TAO_EACCES_MINOR_CODE = 0xDU

Definition at line 37 of file SystemException.cpp.

◆ TAO_EAFNOSUPPORT_MINOR_CODE

const CORBA::ULong TAO_EAFNOSUPPORT_MINOR_CODE = 0xAU

Definition at line 34 of file SystemException.cpp.

◆ TAO_EAGAIN_MINOR_CODE

const CORBA::ULong TAO_EAGAIN_MINOR_CODE = 0xBU

Definition at line 35 of file SystemException.cpp.

◆ TAO_EBADF_MINOR_CODE

const CORBA::ULong TAO_EBADF_MINOR_CODE = 0x7U

Definition at line 31 of file SystemException.cpp.

◆ TAO_EBUSY_MINOR_CODE

const CORBA::ULong TAO_EBUSY_MINOR_CODE = 0xFU

Definition at line 39 of file SystemException.cpp.

◆ TAO_ECOMM_MINOR_CODE

const CORBA::ULong TAO_ECOMM_MINOR_CODE = 0x12U

Definition at line 42 of file SystemException.cpp.

◆ TAO_ECONNREFUSED_MINOR_CODE

const CORBA::ULong TAO_ECONNREFUSED_MINOR_CODE = 0x5U

Definition at line 29 of file SystemException.cpp.

◆ TAO_ECONNRESET_MINOR_CODE

const CORBA::ULong TAO_ECONNRESET_MINOR_CODE = 0x13U

Definition at line 43 of file SystemException.cpp.

◆ TAO_EEXIST_MINOR_CODE

const CORBA::ULong TAO_EEXIST_MINOR_CODE = 0x10U

Definition at line 40 of file SystemException.cpp.

◆ TAO_EFAULT_MINOR_CODE

const CORBA::ULong TAO_EFAULT_MINOR_CODE = 0xEU

Definition at line 38 of file SystemException.cpp.

◆ TAO_EINVAL_MINOR_CODE

const CORBA::ULong TAO_EINVAL_MINOR_CODE = 0x11U

Definition at line 41 of file SystemException.cpp.

◆ TAO_EMFILE_MINOR_CODE

const CORBA::ULong TAO_EMFILE_MINOR_CODE = 0x3U

Definition at line 27 of file SystemException.cpp.

◆ TAO_ENFILE_MINOR_CODE

const CORBA::ULong TAO_ENFILE_MINOR_CODE = 0x2U

Definition at line 26 of file SystemException.cpp.

◆ TAO_ENOENT_MINOR_CODE

const CORBA::ULong TAO_ENOENT_MINOR_CODE = 0x6U

Definition at line 30 of file SystemException.cpp.

◆ TAO_ENOMEM_MINOR_CODE

const CORBA::ULong TAO_ENOMEM_MINOR_CODE = 0xCU

Definition at line 36 of file SystemException.cpp.

◆ TAO_ENOSYS_MINOR_CODE

const CORBA::ULong TAO_ENOSYS_MINOR_CODE = 0x8U

Definition at line 32 of file SystemException.cpp.

◆ TAO_ENOTSUP_MINOR_CODE

const CORBA::ULong TAO_ENOTSUP_MINOR_CODE = 0x14U

Definition at line 44 of file SystemException.cpp.

◆ TAO_EPERM_MINOR_CODE

const CORBA::ULong TAO_EPERM_MINOR_CODE = 0x9U

Definition at line 33 of file SystemException.cpp.

◆ TAO_EPIPE_MINOR_CODE

const CORBA::ULong TAO_EPIPE_MINOR_CODE = 0x4U

Definition at line 28 of file SystemException.cpp.

◆ TAO_ETIMEDOUT_MINOR_CODE

const CORBA::ULong TAO_ETIMEDOUT_MINOR_CODE = 0x1U

Definition at line 25 of file SystemException.cpp.

◆ TAO_UNSPECIFIED_MINOR_CODE

const CORBA::ULong TAO_UNSPECIFIED_MINOR_CODE = 0x0U

Definition at line 24 of file SystemException.cpp.