rcolyer.net
RC Lib  Version 201607061602
Public Member Functions | List of all members
RC::ErrorMsgNet Class Reference

A subtype of RC::ErrorMsg for Networking related errors. More...

#include <Errors.h>

Inheritance diagram for RC::ErrorMsgNet:
RC::ErrorMsg

Public Member Functions

 ErrorMsgNet (const char *new_err_msg, const char *filename="", int line_number=0)
 The default constructor. More...
 
virtual ~ErrorMsgNet () noexcept
 The destructor.
 
 ErrorMsgNet (const ErrorMsgNet &)=default
 Default copy constructor.
 
 ErrorMsgNet (ErrorMsgNet &&)=default
 Default move constructor.
 
ErrorMsgNetoperator= (const ErrorMsgNet &)&=default
 Default copy assignment operator.
 
ErrorMsgNetoperator= (ErrorMsgNet &&)&=default
 Default move assignment operator.
 
- Public Member Functions inherited from RC::ErrorMsg
 ErrorMsg (const char *new_err_msg=NULL, const char *filename=NULL, int line_number=0) noexcept
 The default constructor. More...
 
virtual ~ErrorMsg () noexcept
 The destructor.
 
 ErrorMsg (const ErrorMsg &)=default
 Default copy constructor.
 
 ErrorMsg (ErrorMsg &&)=default
 Default move constructor.
 
ErrorMsgoperator= (const ErrorMsg &)&=default
 Default copy assignment operator.
 
ErrorMsgoperator= (ErrorMsg &&)&=default
 Default move assignment operator.
 
virtual const char * GetError () const noexcept
 Provides the reason given for the error. More...
 
virtual const char * GetType () const noexcept
 Provides the type of the exception if this is a subclass. More...
 
virtual bool IsError (const char *test_err) const noexcept
 Return true if the the reason for the exception matches test_err. More...
 
virtual const char * what () const noexcept
 Returns a full descriptive error message with reason, source location, and stack trace. More...
 

Detailed Description

A subtype of RC::ErrorMsg for Networking related errors.

Constructor & Destructor Documentation

RC::ErrorMsgNet::ErrorMsgNet ( const char *  new_err_msg,
const char *  filename = "",
int  line_number = 0 
)
inline

The default constructor.

Use the convenience macro Throw_RC_Type( Net , "Reason");


The documentation for this class was generated from the following file:
email address
— (c) 2015