SourcePro® API Reference Guide

 
List of all members | Public Member Functions
RWSocketError Class Reference

Reports an error on an RWSocket. More...

#include <rw/network/except.h>

Inheritance diagram for RWSocketError:
RWInternalErr RWxmsg

Public Member Functions

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

Related Functions

(Note that these are not member functions.)

const int RWNETEINTR
 
const int RWNETEBADF
 
const int RWNETEACCES
 
const int RWNETEFAULT
 
const int RWNETEINVAL
 
const int RWNETEMFILE
 
const int RWNETEUSERS
 
const int RWNETESTALE
 
const int RWNETEREMOTE
 
const int RWNETEWOULDBLOCK
 
const int RWNETEINPROGRESS
 
const int RWNETEALREADY
 
const int RWNETENOTSOCK
 
const int RWNETEDESTADDRREQ
 
const int RWNETEMSGSIZE
 
const int RWNETEPROTOTYPE
 
const int RWNETENOPROTOOPT
 
const int RWNETEPROTONOSUPPORT
 
const int RWNETESOCKTNOSUPPORT
 
const int RWNETEOPNOTSUPP
 
const int RWNETEPFNOSUPPORT
 
const int RWNETEAFNOSUPPORT
 
const int RWNETEADDRINUSE
 
const int RWNETEADDRNOTAVAIL
 
const int RWNETENETDOWN
 
const int RWNETENETUNREACH
 
const int RWNETENETRESET
 
const int RWNETECONNABORTED
 
const int RWNETECONNRESET
 
const int RWNETENOBUFS
 
const int RWNETEISCONN
 
const int RWNETENOTCONN
 
const int RWNETESHUTDOWN
 
const int RWNETETOOMANYREFS
 
const int RWNETETIMEDOUT
 
const int RWNETECONNREFUSED
 
const int RWNETELOOP
 
const int RWNETENAMETOOLONG
 
const int RWNETEHOSTDOWN
 
const int RWNETEHOSTUNREACH
 
const int RWNETENOTEMPTY
 
const int RWNETEPIPE
 
const int RWNETEPROCLIM
 
const int RWNETEDQUOT
 
const int RWNETSYSNOTREADY
 
const int RWNETVERNOTSUPPORTED
 
const int RWNETNOTINITIALISED
 
const int RWNETHOST_NOT_FOUND
 
const int RWNETTRY_AGAIN
 
const int RWNETNO_RECOVERY
 
const int RWNETNO_DATA
 
const int RWNETNO_ADDRESS
 

Additional Inherited Members

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

Detailed Description

An RWSocketError is thrown when an error occurs on a RWSocket.

Constructor & Destructor Documentation

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

Constructs an exception with the error number errorNumber, and the function name funcname.

Member Function Documentation

RWCString RWSocketError::errDescription ( ) const
inline

Returns a string that describes the error.

int RWSocketError::errorNumber ( ) const
inline

Returns the error number.

RWCString RWSocketError::where ( ) const
inline

Returns the name of the function that generated this exception.

Friends And Related Function Documentation

const int RWNETEACCES
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEADDRINUSE
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEADDRNOTAVAIL
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEAFNOSUPPORT
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEALREADY
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEBADF
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETECONNABORTED
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETECONNREFUSED
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETECONNRESET
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEDESTADDRREQ
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEDQUOT
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEFAULT
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEHOSTDOWN
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEHOSTUNREACH
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEINPROGRESS
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEINTR
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEINVAL
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEISCONN
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETELOOP
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEMFILE
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEMSGSIZE
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETENAMETOOLONG
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETENETDOWN
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETENETRESET
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETENETUNREACH
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETENOBUFS
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETENOPROTOOPT
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETENOTCONN
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETENOTEMPTY
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETENOTSOCK
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEOPNOTSUPP
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEPFNOSUPPORT
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEPIPE
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEPROCLIM
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEPROTONOSUPPORT
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEPROTOTYPE
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEREMOTE
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETESHUTDOWN
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETESOCKTNOSUPPORT
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETESTALE
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETETIMEDOUT
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETETOOMANYREFS
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEUSERS
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETEWOULDBLOCK
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETHOST_NOT_FOUND
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETNO_ADDRESS
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETNO_DATA
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETNO_RECOVERY
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETNOTINITIALISED
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETSYSNOTREADY
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETTRY_AGAIN
related

Socket error code that could be returned from RWSocketError::errorNumber().

const int RWNETVERNOTSUPPORTED
related

Socket error code that could be returned from RWSocketError::errorNumber().

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