diff options
author | Mark Spruiell <mes@zeroc.com> | 2002-04-24 21:13:00 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2002-04-24 21:13:00 +0000 |
commit | 5409c1ecef0f226dedc77721c0d2fc8dfe9e85de (patch) | |
tree | 97ba75bc47a143726d6d8382be3a462e51716700 /cpp/src/IceSSL/SslException.cpp | |
parent | cleaning up sample impls (diff) | |
download | ice-5409c1ecef0f226dedc77721c0d2fc8dfe9e85de.tar.bz2 ice-5409c1ecef0f226dedc77721c0d2fc8dfe9e85de.tar.xz ice-5409c1ecef0f226dedc77721c0d2fc8dfe9e85de.zip |
merging from plugins branch
Diffstat (limited to 'cpp/src/IceSSL/SslException.cpp')
-rw-r--r-- | cpp/src/IceSSL/SslException.cpp | 154 |
1 files changed, 154 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/SslException.cpp b/cpp/src/IceSSL/SslException.cpp new file mode 100644 index 00000000000..e0ccf7f56bb --- /dev/null +++ b/cpp/src/IceSSL/SslException.cpp @@ -0,0 +1,154 @@ +// ********************************************************************** +// +// Copyright (c) 2001 +// MutableRealms, Inc. +// Huntsville, AL, USA +// +// All Rights Reserved +// +// ********************************************************************** + +// Note: This pragma is used to disable spurious warning messages having +// to do with the length of debug symbols exceeding 255 characters. +// This is due to STL template identifiers expansion. +// The MSDN Library recommends that you put this pragma directive +// in place to avoid the warnings. +#ifdef _WIN32 +#pragma warning(disable:4786) +#endif + +#include <Ice/LocalException.h> +#include <IceSSL/Exception.h> + +using namespace std; +using namespace Ice; + +void +IceSSL::SslException::ice_print(ostream& out) const +{ + Exception::ice_print(out); + if (!_message.empty()) + { + out << ":\n" << _message; + } +} + +void +IceSSL::ConfigurationLoadingException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::ConfigParseException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::ShutdownException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::ProtocolException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::CertificateVerificationException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::CertificateException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::CertificateSigningException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::CertificateSignatureException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::CertificateParseException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::PrivateKeyException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::PrivateKeyParseException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::CertificateVerifierTypeException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::OpenSSL::ContextException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::OpenSSL::ContextInitializationException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::OpenSSL::ContextNotConfiguredException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::OpenSSL::UnsupportedContextException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::OpenSSL::CertificateLoadException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::OpenSSL::PrivateKeyLoadException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::OpenSSL::CertificateKeyMatchException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} + +void +IceSSL::OpenSSL::TrustedCertificateAddException::ice_print(ostream& out) const +{ + SslException::ice_print(out); +} |