SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
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 Symbols

(Note that these are not member symbols.)

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

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

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

Member Function Documentation

◆ errDescription()

RWCString RWSocketError::errDescription ( ) const
inline

Returns a string that describes the error.

◆ errorNumber()

int RWSocketError::errorNumber ( ) const
inline

Returns the error number.

◆ where()

RWCString RWSocketError::where ( ) const
inline

Returns the name of the function that generated this exception.

Friends And Related Symbol Documentation

◆ RWNETEACCES

const int RWNETEACCES
related

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

◆ RWNETEADDRINUSE

const int RWNETEADDRINUSE
related

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

◆ RWNETEADDRNOTAVAIL

const int RWNETEADDRNOTAVAIL
related

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

◆ RWNETEAFNOSUPPORT

const int RWNETEAFNOSUPPORT
related

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

◆ RWNETEALREADY

const int RWNETEALREADY
related

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

◆ RWNETEBADF

const int RWNETEBADF
related

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

◆ RWNETECONNABORTED

const int RWNETECONNABORTED
related

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

◆ RWNETECONNREFUSED

const int RWNETECONNREFUSED
related

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

◆ RWNETECONNRESET

const int RWNETECONNRESET
related

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

◆ RWNETEDESTADDRREQ

const int RWNETEDESTADDRREQ
related

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

◆ RWNETEDQUOT

const int RWNETEDQUOT
related

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

◆ RWNETEFAULT

const int RWNETEFAULT
related

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

◆ RWNETEHOSTDOWN

const int RWNETEHOSTDOWN
related

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

◆ RWNETEHOSTUNREACH

const int RWNETEHOSTUNREACH
related

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

◆ RWNETEINPROGRESS

const int RWNETEINPROGRESS
related

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

◆ RWNETEINTR

const int RWNETEINTR
related

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

◆ RWNETEINVAL

const int RWNETEINVAL
related

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

◆ RWNETEISCONN

const int RWNETEISCONN
related

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

◆ RWNETELOOP

const int RWNETELOOP
related

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

◆ RWNETEMFILE

const int RWNETEMFILE
related

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

◆ RWNETEMSGSIZE

const int RWNETEMSGSIZE
related

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

◆ RWNETENAMETOOLONG

const int RWNETENAMETOOLONG
related

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

◆ RWNETENETDOWN

const int RWNETENETDOWN
related

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

◆ RWNETENETRESET

const int RWNETENETRESET
related

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

◆ RWNETENETUNREACH

const int RWNETENETUNREACH
related

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

◆ RWNETENOBUFS

const int RWNETENOBUFS
related

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

◆ RWNETENOPROTOOPT

const int RWNETENOPROTOOPT
related

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

◆ RWNETENOTCONN

const int RWNETENOTCONN
related

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

◆ RWNETENOTEMPTY

const int RWNETENOTEMPTY
related

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

◆ RWNETENOTSOCK

const int RWNETENOTSOCK
related

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

◆ RWNETEOPNOTSUPP

const int RWNETEOPNOTSUPP
related

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

◆ RWNETEPFNOSUPPORT

const int RWNETEPFNOSUPPORT
related

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

◆ RWNETEPIPE

const int RWNETEPIPE
related

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

◆ RWNETEPROCLIM

const int RWNETEPROCLIM
related

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

◆ RWNETEPROTONOSUPPORT

const int RWNETEPROTONOSUPPORT
related

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

◆ RWNETEPROTOTYPE

const int RWNETEPROTOTYPE
related

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

◆ RWNETEREMOTE

const int RWNETEREMOTE
related

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

◆ RWNETESHUTDOWN

const int RWNETESHUTDOWN
related

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

◆ RWNETESOCKTNOSUPPORT

const int RWNETESOCKTNOSUPPORT
related

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

◆ RWNETESTALE

const int RWNETESTALE
related

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

◆ RWNETETIMEDOUT

const int RWNETETIMEDOUT
related

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

◆ RWNETETOOMANYREFS

const int RWNETETOOMANYREFS
related

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

◆ RWNETEUSERS

const int RWNETEUSERS
related

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

◆ RWNETEWOULDBLOCK

const int RWNETEWOULDBLOCK
related

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

◆ RWNETHOST_NOT_FOUND

const int RWNETHOST_NOT_FOUND
related

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

◆ RWNETNO_ADDRESS

const int RWNETNO_ADDRESS
related

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

◆ RWNETNO_DATA

const int RWNETNO_DATA
related

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

◆ RWNETNO_RECOVERY

const int RWNETNO_RECOVERY
related

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

◆ RWNETNOTINITIALISED

const int RWNETNOTINITIALISED
related

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

◆ RWNETSYSNOTREADY

const int RWNETSYSNOTREADY
related

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

◆ RWNETTRY_AGAIN

const int RWNETTRY_AGAIN
related

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

◆ RWNETVERNOTSUPPORTED

const int RWNETVERNOTSUPPORTED
related

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

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