EMA C++ Edition
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Protected Member Functions | Protected Attributes
thomsonreuters::ema::access::OmmSystemException Class Reference

OmmSystemException represents exceptions thrown by operating system. More...

Inheritance diagram for thomsonreuters::ema::access::OmmSystemException:
thomsonreuters::ema::access::OmmException

Public Member Functions

Accessors
ExceptionType getExceptionType () const
 
const EmaStringgetText () const
 
const EmaStringtoString () const
 
Int64 getSystemExceptionCode () const
 
void * getSystemExceptionAddress () const
 
- Public Member Functions inherited from thomsonreuters::ema::access::OmmException
const EmaStringgetExceptionTypeAsString () const
 
 operator const char * () const
 

Protected Member Functions

 OmmSystemException ()
 
 OmmSystemException (const OmmSystemException &)
 
OmmSystemExceptionoperator= (const OmmSystemException &)
 
virtual ~OmmSystemException ()
 
- Protected Member Functions inherited from thomsonreuters::ema::access::OmmException
 OmmException ()
 
 OmmException (const OmmException &)
 
OmmExceptionoperator= (const OmmException &)
 
OmmExceptionstatusText (const EmaString &statusText)
 
OmmExceptionstatusText (const char *statusText)
 
const EmaStringtoStringInt () const
 
virtual ~OmmException ()
 

Protected Attributes

void * _exceptionAddress
 
Int64 _exceptionCode
 
- Protected Attributes inherited from thomsonreuters::ema::access::OmmException
char _errorText [MAX_SIZE]
 
UInt32 _errorTextLength
 
char _space [MAX_SIZE_PLUS_PADDING]
 

Additional Inherited Members

- Public Types inherited from thomsonreuters::ema::access::OmmException
enum  ExceptionType {
  OmmInvalidUsageExceptionEnum,
  OmmInvalidConfigurationExceptionEnum,
  OmmSystemExceptionEnum,
  OmmOutOfRangeExceptionEnum,
  OmmInvalidHandleExceptionEnum,
  OmmMemoryExhaustionExceptionEnum,
  OmmInaccessibleLogFileExceptionEnum,
  OmmUnsupportedDomainTypeExceptionEnum,
  OmmJsonConverterExceptionEnum
}
 

Detailed Description

Remarks
All methods in this class are Lock-free Method.
See Also
OmmException, OmmConsumerErrorClient, OmmProviderErrorClient

Definition at line 31 of file OmmSystemException.h.

Constructor & Destructor Documentation

thomsonreuters::ema::access::OmmSystemException::OmmSystemException ( )
protected
virtual thomsonreuters::ema::access::OmmSystemException::~OmmSystemException ( )
protectedvirtual
thomsonreuters::ema::access::OmmSystemException::OmmSystemException ( const OmmSystemException )
protected

Member Function Documentation

ExceptionType thomsonreuters::ema::access::OmmSystemException::getExceptionType ( ) const
virtual
void* thomsonreuters::ema::access::OmmSystemException::getSystemExceptionAddress ( ) const

Returns SystemExceptionAddress.

Returns
address of the system exception
Int64 thomsonreuters::ema::access::OmmSystemException::getSystemExceptionCode ( ) const

Returns SystemExceptionCode.

Returns
code of the system exception
const EmaString& thomsonreuters::ema::access::OmmSystemException::getText ( ) const
virtual

Returns Text.

Returns
EmaString with exception text information

Implements thomsonreuters::ema::access::OmmException.

OmmSystemException& thomsonreuters::ema::access::OmmSystemException::operator= ( const OmmSystemException )
protected
const EmaString& thomsonreuters::ema::access::OmmSystemException::toString ( ) const
virtual

Returns a string representation of the class instance.

Returns
string representation of the class instance

Implements thomsonreuters::ema::access::OmmException.

Member Data Documentation

void* thomsonreuters::ema::access::OmmSystemException::_exceptionAddress
protected

Definition at line 66 of file OmmSystemException.h.

Int64 thomsonreuters::ema::access::OmmSystemException::_exceptionCode
protected

Definition at line 65 of file OmmSystemException.h.