Module: Secure Communication Module Package: Secure Sockets
External Exception ClassRWExternalErr RWxmsg Internal Exception classRWInternalErr
#include <rw/secsock/except.h>
The following Secure Sockets package exceptions derive from RWExternalErr in the Essential Tools Module (see the first line of the class hierarchy shown above):
RWCertificateKeyMismatchError
RWCertificateNotValidError
RWSecureSocketBadMemoryReferenceError
RWSecureSocketInvalidFileError
RWSecureSocketInvalidMethodError
RWSecureSocketNoCallbackSpecifiedError
RWSecureSocketPackageNotInitializedError
RWSecureSocketRNGNotSeededError
RWSSLContextLoadVerifyLocationsError
RWSSLContextUnableToSetCipherListError
RWUnableToReadCertificateError
RWUnableToReadPrivateKeyError
NOTE -- The RWCertificateOrKeyTooLargeError exception class has been deprecated.
The following Secure Sockets package exceptions derive from RWInternalErr in the Essential Tools Module (see the second line of the class hierarchy shown above):
RWSecureSocketInvalidSocketError
RWSecureSocketNullCertificateError
RWSecureSocketPackageCleanupError
RWSecureSocketPackageInitError
RWSecureSocketShutdownError
RWSecureSocketUnderlyingAllocationError
RWSecureSocketUseCertificateError
RWSecureSocketUsePrivateKeyError
For each exception in the lists above, the following member functions are available:
ExceptionName(const RWCString& funcName, unsigned long errNum);
Constructor.
RWCString where() const;
Returns the name of the function that threw the exception.
RWCString errorDescription() const;
Returns a text description of the error.
unsigned long errorNumber() const;
Returns the error number associated with 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.