SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
List of all members | Public Member Functions | Static Public Member Functions
RWSecureSocketError Class Reference

Thrown when a problem occurs while trying to use an RWSecureSocket. More...

#include <rw/secsock/except.h>

Inheritance diagram for RWSecureSocketError:
RWInternalErr RWxmsg

Public Member Functions

 RWSecureSocketError (int errorNumber, const RWCString &funcname)
 
RWCString errDescription (void) const
 
int 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
 

Static Public Member Functions

static RWCString errNumberToString (int errorNumber)
 

Additional Inherited Members

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

Detailed Description

An RWSecureSocketError is thrown when a problem occurs while trying to use an RWSecureSocket.

Constructor & Destructor Documentation

RWSecureSocketError::RWSecureSocketError ( int  errorNumber,
const RWCString funcname 
)

Constructor.

Member Function Documentation

RWCString RWSecureSocketError::errDescription ( void  ) const
inline

Returns a text description of the error condition.

static RWCString RWSecureSocketError::errNumberToString ( int  errorNumber)
static

Static function that converts an error number to a text string.

int RWSecureSocketError::errorNumber ( void  ) const
inline

Returns the error number.

RWCString RWSecureSocketError::where ( void  ) const
inline

Returns the name of the function that threw the exception.

Copyright © 2016 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.