Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
Types.h
1// Copyright (c) ZeroC, Inc.
2
3#ifndef ICE_BT_TYPES_H
4#define ICE_BT_TYPES_H
5
6#include "Ice/Config.h"
7#include "Ice/LocalExceptions.h"
8
9#ifndef ICEBT_API
10# if defined(ICEBT_API_EXPORTS)
11# define ICEBT_API ICE_DECLSPEC_EXPORT
12# else
13# define ICEBT_API ICE_DECLSPEC_IMPORT
14# endif
15#endif
16
17namespace IceBT
18{
19 /// Indicates a failure in the Bluetooth plug-in.
20 /// @headerfile IceBT/IceBT.h
21 class ICEBT_API BluetoothException final : public Ice::LocalException
22 {
23 public:
25
26 [[nodiscard]] const char* ice_id() const noexcept final;
27 };
28}
29
30#endif
const char * ice_id() const noexcept final
Returns the type ID of this exception.
Indicates a failure in the Bluetooth plug-in.
Definition Types.h:22
LocalException(const char *file, int line, std::string message)
Constructs a local exception.
Base class for all Ice exceptions not defined in Slice.
The Bluetooth transport plug-in.