SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
RWNetNoNumberFactoryRegisteredError Class Reference

Reports a request to produce a derived RWSockAddr for a socket family that is not registered with the factory. More...

#include <rw/network/except.h>

Inheritance diagram for RWNetNoNumberFactoryRegisteredError:
RWNetNoFactoryRegisteredError RWExternalErr RWxmsg

Public Member Functions

 RWNetNoNumberFactoryRegisteredError (int family)
 
int family () const
 
- Public Member Functions inherited from RWNetNoFactoryRegisteredError
 RWNetNoFactoryRegisteredError (const RWCString &msg)
 
- 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 RWNetNoNumberFactoryRegisteredError exception is thrown when a RWSockAddrFactory is asked to produce a derived RWSockAddr for a socket family that is not registered with that factory.

Constructor & Destructor Documentation

◆ RWNetNoNumberFactoryRegisteredError()

RWNetNoNumberFactoryRegisteredError::RWNetNoNumberFactoryRegisteredError ( int family)

Constructs an exception with the socket family set to family.

Member Function Documentation

◆ family()

int RWNetNoNumberFactoryRegisteredError::family ( ) const
inline

Returns the socket family.

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