Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
SSLException.h
1// Copyright (c) ZeroC, Inc.
2
3#ifndef ICE_SSL_EXCEPTION_H
4#define ICE_SSL_EXCEPTION_H
5
6#include "../Config.h"
7#include "../LocalException.h"
8
9#include <string>
10
11namespace Ice::SSL
12{
13 /// The exception that is thrown when a certificate cannot be read.
14 class ICE_API CertificateReadException final : public Ice::LocalException
15 {
16 public:
18
19 [[nodiscard]] const char* ice_id() const noexcept final;
20 };
21
22 /// The exception that is thrown when a certificate cannot be encoded.
23 class ICE_API CertificateEncodingException final : public Ice::LocalException
24 {
25 public:
27
28 [[nodiscard]] const char* ice_id() const noexcept override;
29 };
30}
31
32#endif
LocalException(const char *file, int line, std::string message)
Constructs a local exception.
Base class for all Ice exceptions not defined in Slice.
LocalException(const char *file, int line, std::string message)
Constructs a local exception.
const char * ice_id() const noexcept override
Returns the type ID of this exception.
The exception that is thrown when a certificate cannot be encoded.
const char * ice_id() const noexcept final
Returns the type ID of this exception.
The exception that is thrown when a certificate cannot be read.
Secure connections with SSL/TLS.
The Ice RPC framework.
Definition SampleEvent.h:59