SourcePro® API Reference Guide

Product Documentation:
   SourcePro
Documentation Home
List of all members | Public Member Functions
RWSecureSocketInvalidSocketError Class Reference

Thrown when an invalid socket is used. More...

#include <rw/secsock/except.h>

Inheritance diagram for RWSecureSocketInvalidSocketError:
RWInternalErr RWxmsg

Public Member Functions

 RWSecureSocketInvalidSocketError (const RWCString &funcName, unsigned long errNum)
 
RWCString errorDescription (void) const
 
unsigned long errorNumber (void) const
 
RWCString where (void) const
 
- Public Member Functions inherited from RWxmsg
 RWxmsg (const char *msg)
 
 RWxmsg (const RWxmsg &msg)
 
 RWxmsg (RWxmsg &&msg)
 
RWxmsgoperator= (const RWxmsg &)
 
RWxmsgoperator= (RWxmsg &&msg)
 
virtual void raise () const
 
void swap (RWxmsg &rhs)
 
virtual const char * why () const
 

Additional Inherited Members

- Protected Member Functions inherited from RWxmsg
 RWxmsg (const char *msg, bool doCopy)
 

Detailed Description

An RWSecureSocketInvalidSocketError is thrown when an invalid socket is used.

See also
RWSecureSocket::getContext(), rwSecureSocketSelect()

Constructor & Destructor Documentation

RWSecureSocketInvalidSocketError::RWSecureSocketInvalidSocketError ( const RWCString funcName,
unsigned long  errNum 
)

Constructor.

Member Function Documentation

RWCString RWSecureSocketInvalidSocketError::errorDescription ( void  ) const
inline

Returns a text description of the error.

unsigned long RWSecureSocketInvalidSocketError::errorNumber ( void  ) const
inline

Returns the error number associated with the exception.

RWCString RWSecureSocketInvalidSocketError::where ( void  ) const
inline

Returns the name of the function that threw the exception.

Copyright © 2021 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.