1//
2// SSLException.cpp
3//
4// Library: NetSSL_OpenSSL
5// Package: SSLCore
6// Module: SSLException
7//
8// Copyright (c) 2006-2009, Applied Informatics Software Engineering GmbH.
9// and Contributors.
10//
11// SPDX-License-Identifier: BSL-1.0
12//
13
14
15#include "Poco/Net/SSLException.h"
16#include <typeinfo>
17
18
19namespace Poco {
20namespace Net {
21
22
23POCO_IMPLEMENT_EXCEPTION(SSLException, NetException, "SSL Exception")
24POCO_IMPLEMENT_EXCEPTION(SSLContextException, SSLException, "SSL context exception")
25POCO_IMPLEMENT_EXCEPTION(InvalidCertificateException, SSLException, "Invalid certficate")
26POCO_IMPLEMENT_EXCEPTION(CertificateValidationException, SSLException, "Certificate validation error")
27POCO_IMPLEMENT_EXCEPTION(SSLConnectionUnexpectedlyClosedException, SSLException, "SSL connection unexpectedly closed")
28
29
30} } // namespace Poco::Net
31