SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
RWCertificateOrKeyTooLargeError Class Reference

Deprecated. Thrown when the key data is too large to be used. More...

#include <rw/secsock/except.h>

Inheritance diagram for RWCertificateOrKeyTooLargeError:
RWExternalErr RWxmsg

Public Member Functions

 RWCertificateOrKeyTooLargeError (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

Deprecated
As of SourcePro 4, this exception type is no longer thrown by the Secure Sockets package. If the key data provided is too large, you should expect an RWUnableToReadPrivateKeyError exception.

An RWCertificateOrKeyTooLargeError is thrown when the key data is too large to be used.

Constructor & Destructor Documentation

◆ RWCertificateOrKeyTooLargeError()

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

Constructor.

Member Function Documentation

◆ errorDescription()

RWCString RWCertificateOrKeyTooLargeError::errorDescription ( void ) const
inline

Returns a text description of the error.

◆ errorNumber()

unsigned long RWCertificateOrKeyTooLargeError::errorNumber ( void ) const
inline

Returns the error number associated with the exception.

◆ where()

RWCString RWCertificateOrKeyTooLargeError::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.