| 1 | // |
| 2 | // SSLException.h |
| 3 | // |
| 4 | // Library: NetSSL_OpenSSL |
| 5 | // Package: SSLCore |
| 6 | // Module: SSLException |
| 7 | // |
| 8 | // Definition of the SSLException class. |
| 9 | // |
| 10 | // Copyright (c) 2006-2009, Applied Informatics Software Engineering GmbH. |
| 11 | // and Contributors. |
| 12 | // |
| 13 | // SPDX-License-Identifier: BSL-1.0 |
| 14 | // |
| 15 | |
| 16 | |
| 17 | #ifndef NetSSL_SSLException_INCLUDED |
| 18 | #define NetSSL_SSLException_INCLUDED |
| 19 | |
| 20 | |
| 21 | #include "Poco/Net/NetSSL.h" |
| 22 | #include "Poco/Net/NetException.h" |
| 23 | |
| 24 | |
| 25 | namespace Poco { |
| 26 | namespace Net { |
| 27 | |
| 28 | |
| 29 | POCO_DECLARE_EXCEPTION(NetSSL_API, SSLException, NetException) |
| 30 | POCO_DECLARE_EXCEPTION(NetSSL_API, SSLContextException, SSLException) |
| 31 | POCO_DECLARE_EXCEPTION(NetSSL_API, InvalidCertificateException, SSLException) |
| 32 | POCO_DECLARE_EXCEPTION(NetSSL_API, CertificateValidationException, SSLException) |
| 33 | POCO_DECLARE_EXCEPTION(NetSSL_API, SSLConnectionUnexpectedlyClosedException, SSLException) |
| 34 | |
| 35 | |
| 36 | } } // namespace Poco::Net |
| 37 | |
| 38 | |
| 39 | #endif // NetSSL_SSLException_INCLUDED |
| 40 | |