SourcePro® API Reference Guide

 
All Classes Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
RWSecureSocketUsePrivateKeyError Class Reference

Thrown when the provided RWPrivateKey cannot be set or if the RWPrivateKey does not match the provided RWX509Certificate. More...

#include <rw/secsock/except.h>

Inheritance diagram for RWSecureSocketUsePrivateKeyError:
RWInternalErr RWxmsg

Public Member Functions

 RWSecureSocketUsePrivateKeyError (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 RWSecureSocketUsePrivateKeyError is thrown when the provided RWPrivateKey cannot be set or if the RWPrivateKey does not match the provided RWX509Certificate.

See also
RWSecureSocket::setPrivateKey(), RWSecureSocketContext::setPrivateKey()

Constructor & Destructor Documentation

◆ RWSecureSocketUsePrivateKeyError()

RWSecureSocketUsePrivateKeyError::RWSecureSocketUsePrivateKeyError ( const RWCString & funcName,
unsigned long errNum )

Constructor.

Member Function Documentation

◆ errorDescription()

RWCString RWSecureSocketUsePrivateKeyError::errorDescription ( void ) const
inline

Returns a text description of the error.

◆ errorNumber()

unsigned long RWSecureSocketUsePrivateKeyError::errorNumber ( void ) const
inline

Returns the error number associated with the exception.

◆ where()

RWCString RWSecureSocketUsePrivateKeyError::where ( void ) const
inline

Returns the name of the function that threw the exception.

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