rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWSocketError Class Reference
[Essential Networking Module]

Reports an error on an RWSocket. More...

#include <rw/network/except.h>

Inheritance diagram for RWSocketError:
RWInternalErr RWxmsg

List of all members.

Public Member Functions

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

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().

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© Copyright 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.
Contact Rogue Wave about documentation or support issues.