SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
List of all members | Public Member Functions
RWSecureSocketBadMemoryReferenceError Class Reference

Thrown when NULL is passed to a function that needs a valid pointer. More...

#include <rw/secsock/except.h>

Inheritance diagram for RWSecureSocketBadMemoryReferenceError:
RWExternalErr RWxmsg

Public Member Functions

 RWSecureSocketBadMemoryReferenceError (const RWCString &funcName, unsigned long errNum)
 
RWCString errorDescription (void) const
 
unsigned long errorNumber (void) const
 
RWCString where (void) const
 
- 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 RWSecureSocketBadMemoryReferenceError is thrown when NULL is passed to a function that needs a valid pointer.

See also
RWSecureSocketPackageInit::seedRNGFromMemory().

Constructor & Destructor Documentation

RWSecureSocketBadMemoryReferenceError::RWSecureSocketBadMemoryReferenceError ( const RWCString funcName,
unsigned long  errNum 
)

Constructor.

Member Function Documentation

RWCString RWSecureSocketBadMemoryReferenceError::errorDescription ( void  ) const
inline

Returns a text description of the error.

unsigned long RWSecureSocketBadMemoryReferenceError::errorNumber ( void  ) const
inline

Returns the error number associated with the exception.

RWCString RWSecureSocketBadMemoryReferenceError::where ( void  ) const
inline

Returns the name of the function that threw the exception.

Copyright © 2016 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.
Provide feedback to Rogue Wave about its documentation.