SourcePro® API Reference Guide

 
List of all members | Public Member Functions
RWSockTypeChangeError Class Reference

Reports the attempt to change the type of a valid socket. More...

#include <rw/network/except.h>

Inheritance diagram for RWSockTypeChangeError:
RWInternalErr RWxmsg

Public Member Functions

 RWSockTypeChangeError (const RWSockType &socktype, const RWSockType &addrtype)
 
- 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 RWSockTypeChangeError exception is throw when an operation attempts to change the type of a valid socket.

Constructor & Destructor Documentation

RWSockTypeChangeError::RWSockTypeChangeError ( const RWSockType socktype,
const RWSockType addrtype 
)

Constructs an exception with the current socket type socktype and the requested socket type addrtype.

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