TAO
2.3.3
|
#include <SystemException.h>
Public Member Functions | |
SystemException (const SystemException &src) | |
Copy constructor. More... | |
virtual | ~SystemException (void) |
Destructor. More... | |
ULong | minor (void) const |
Get the minor status. More... | |
void | minor (ULong m) |
Set the minor status. More... | |
CORBA::CompletionStatus | completed (void) const |
Get the completion status. More... | |
void | completed (CORBA::CompletionStatus c) |
Set the operation completion status. More... | |
virtual void | _raise (void) const =0 |
void | _tao_print_system_exception (FILE *f=stdout) const |
virtual ACE_CString | _info (void) const |
virtual void | _tao_encode (TAO_OutputCDR &cdr) const |
virtual void | _tao_decode (TAO_InputCDR &cdr) |
virtual CORBA::Exception * | _tao_duplicate (void) const |
Deep copy. More... | |
Public Member Functions inherited from CORBA::Exception | |
Exception (const Exception &src) | |
Copy constructor. More... | |
virtual | ~Exception (void) |
Destructor. More... | |
virtual const char * | _rep_id (void) const |
Return the repository ID of the Exception. More... | |
virtual const char * | _name (void) const |
Return the name of the Exception. More... | |
virtual CORBA::TypeCode_ptr | _tao_type (void) const =0 |
Will be overridden in the concrete derived classes. More... | |
void | _tao_print_exception (const char *info, FILE *f=stdout) const |
Print the exception to output determined by f. More... | |
Static Public Member Functions | |
static SystemException * | _downcast (CORBA::Exception *exception) |
Narrow to a SystemException. More... | |
static const SystemException * | _downcast (const CORBA::Exception *exception) |
The const version of narrow operation to a SystemException. More... | |
static CORBA::ULong | _tao_minor_code (u_int location, int errno_value) |
Helper to create a minor status value. More... | |
static CORBA::ULong | _tao_errno (int errno_value) |
Static Public Member Functions inherited from CORBA::Exception | |
static Exception * | _downcast (Exception *x) |
static Exception const * | _downcast (Exception const *x) |
static void | _tao_any_destructor (void *) |
Used in the non-copying Any insertion operator. More... | |
Protected Member Functions | |
SystemException (void) | |
Default constructor. More... | |
SystemException & | operator= (const SystemException &src) |
Assignment operator. More... | |
SystemException (CORBA::ULong code, CORBA::CompletionStatus completed) | |
Constructor using a repository id. More... | |
SystemException (const char *repository_id, const char *local_name, CORBA::ULong code, CORBA::CompletionStatus completed) | |
Constructor using a repository id. More... | |
Protected Member Functions inherited from CORBA::Exception | |
Exception (void) | |
Default constructor. More... | |
Exception & | operator= (const Exception &src) |
Assignment operator. More... | |
Exception (const char *repository_id, const char *local_name) | |
Construct from a repository id. More... | |
Static Protected Member Functions | |
static const char * | _tao_get_omg_exception_description (const CORBA::SystemException &exc, CORBA::ULong minor_code) |
Private Attributes | |
CORBA::ULong | minor_ |
Minor code. More... | |
CORBA::CompletionStatus | completed_ |
Completion status. More... | |
System exceptions are those defined in the CORBA specification; OMG-IDL defines these.
CORBA::SystemException::SystemException | ( | const SystemException & | src | ) |
Copy constructor.
|
virtual |
Destructor.
|
protected |
Default constructor.
|
protected |
Constructor using a repository id.
|
protected |
Constructor using a repository id.
|
static |
Narrow to a SystemException.
|
static |
The const version of narrow operation to a SystemException.
|
virtual |
Returns a string containing information about the exception. This function is not CORBA compliant.
Implements CORBA::Exception.
|
pure virtual |
Implements CORBA::Exception.
|
virtual |
Implements CORBA::Exception.
|
virtual |
Deep copy.
Implements CORBA::Exception.
|
virtual |
Implements CORBA::Exception.
|
static |
Helper to translate a platform-specific errno to a TAO errno value.
|
staticprotected |
Return the exception description associated with the given OMG minor code.
|
static |
Helper to create a minor status value.
void CORBA::SystemException::_tao_print_system_exception | ( | FILE * | f = stdout | ) | const |
Print the system exception ex
to output determined by f
. This function is not CORBA compliant.
CORBA::CompletionStatus CORBA::SystemException::completed | ( | void | ) | const |
Get the completion status.
void CORBA::SystemException::completed | ( | CORBA::CompletionStatus | c | ) |
Set the operation completion status.
CORBA::ULong CORBA::SystemException::minor | ( | void | ) | const |
Get the minor status.
void CORBA::SystemException::minor | ( | CORBA::ULong | m | ) |
Set the minor status.
|
protected |
Assignment operator.
|
private |
Completion status.
|
private |
Minor code.