OnixS C++ CME iLink 3 Binary Order Entry Handler 1.18.9
API Documentation
Loading...
Searching...
No Matches
ExceptionHelpers.h
Go to the documentation of this file.
1// Copyright Onix Solutions Limited [OnixS]. All rights reserved.
2//
3// This software owned by Onix Solutions Limited [OnixS] and is
4// protected by copyright law and international copyright treaties.
5//
6// Access to and use of the software is governed by the terms of the applicable
7// OnixS Software Services Agreement (the Agreement) and Customer end user license
8// agreements granting a non-assignable, non-transferable and non-exclusive license
9// to use the software for it's own data processing purposes under the terms defined
10// in the Agreement.
11//
12// Except as otherwise granted within the terms of the Agreement, copying or
13// reproduction of any part of this source code or associated reference material
14// to any other location for further reproduction or redistribution, and any
15// amendments to this copyright notice, are expressly prohibited.
16//
17// Any reproduction or redistribution for sale or hiring of the Software not in
18// accordance with the terms of the Agreement is a violation of copyright law.
19//
20
21#pragma once
22
25
27
30
36void throwBadBinaryBlock();
37
43void throwDisallowedField();
44
50void throwBinaryBlockIsTooSmall(MessageSize actual, MessageSize required);
51
57void throwBinaryBlockIsTooSmall(MessageSize actual, MessageSize required, const Char*);
58
64void throwBadMessageVersion(SchemaVersion messageVersion, SchemaVersion minimalVersion);
65
71void throwBadSchemaId(SchemaId expected, SchemaId provided);
72
78void throwNotEnoughSpace();
79
84void throwBadConversion(const Char* typeName);
85
86
92void throwIncorrectEncoding(Messaging::UInt16 encoding, const void* data, MessageSize size);
93
99void throwNetPacketIsTooSmall(MessageSize actual, MessageSize required);
100
#define ONIXS_ILINK3_MESSAGING_NAMESPACE_END
Definition ABI.h:144
#define ONIXS_ILINK3_MESSAGING_NAMESPACE_BEGIN
Definition ABI.h:140
#define ONIXS_ILINK3_NORETURN
Definition Compiler.h:184
#define ONIXS_ILINK3_EXPORTED
Definition Compiler.h:175
#define ONIXS_ILINK3_COLDPATH
Definition Compiler.h:188
UInt16 TemplateId
Type alias for the TemplateId.
Definition Composites.h:214
MessageHeader::Version SchemaVersion
SBE-encoded data version type.
char Char
Character type alias.
Definition String.h:30
UInt16 MessageSize
Message length type.
Definition Aliases.h:29
MessageHeader::SchemaId SchemaId
MessageHeader::TemplateId MessageTemplateId
Message type (template) identification.