rwlogo
SourcePro 11.1

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWSecureSocketUsePrivateKeyError Class Reference
[Secure Sockets]

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

List of all members.

Public Member Functions

 RWSecureSocketUsePrivateKeyError (const RWCString &funcName, unsigned long errNum)
RWCString where (void) const
RWCString errorDescription (void) const
unsigned long errorNumber (void) const

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 ( const RWCString funcName,
unsigned long  errNum 
) [inline]

Constructor.


Member Function Documentation

RWCString RWSecureSocketUsePrivateKeyError::errorDescription ( void   )  const [inline]

Returns a text description of the error.

unsigned long RWSecureSocketUsePrivateKeyError::errorNumber ( void   )  const [inline]

Returns the error number associated with the exception.

RWCString RWSecureSocketUsePrivateKeyError::where ( void   )  const [inline]

Returns the name of the function that threw the exception.


© Copyright 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.
Contact Rogue Wave about documentation or support issues.