SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
RWSockWrongAddressTypeError Class Reference

Reports the attempt to convert one derived RWSockAddr to some other RWSockAddr type. More...

#include <rw/network/except.h>

Inheritance diagram for RWSockWrongAddressTypeError:
RWInternalErr RWxmsg

Public Member Functions

 RWSockWrongAddressTypeError (const RWCString &from, const RWCString &to)
 
- 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 RWSockWrongAddressTypeError exception is thrown when a operation attempts to convert one derived RWSockAddr to some other RWSockAddr type.

Constructor & Destructor Documentation

◆ RWSockWrongAddressTypeError()

RWSockWrongAddressTypeError::RWSockWrongAddressTypeError ( const RWCString & from,
const RWCString & to )

Constructs an exception that describes a failed conversion from the type from to the type to.

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