1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>QuickFIX: /home/omiller/Development/autobuild/quickfix/src/C++/Exceptions.h Source File</title>
<link href="quickfix.css" rel="stylesheet" type="text/css">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<img src="images/QuickFIX.jpg" align="middle" border=0>
<a href="index.html">Index</a>
<a href="files.html">Source Files</a>
<a href="annotated.html">Annotated Class List</a>
<a href="classes.html">Alphabetical Class List</a>
<a href="hierarchy.html">Class Hierarchy</a>
<a href="inherits.html">Graphical Class Hierarchy</a>
</td>
</tr>
</table>
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.6.1 -->
<div class="navpath"><a class="el" href="dir_a9003438d6daff57482a26b22b6121a1.html">src</a> » <a class="el" href="dir_348ef16cf184025134029522e7f02883.html">C++</a>
</div>
<div class="contents">
<h1>Exceptions.h</h1><a href="_exceptions_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- C++ -*- */</span>
<a name="l00002"></a>00002
<a name="l00003"></a>00003 <span class="comment">/****************************************************************************</span>
<a name="l00004"></a>00004 <span class="comment">** Copyright (c) quickfixengine.org All rights reserved.</span>
<a name="l00005"></a>00005 <span class="comment">**</span>
<a name="l00006"></a>00006 <span class="comment">** This file is part of the QuickFIX FIX Engine</span>
<a name="l00007"></a>00007 <span class="comment">**</span>
<a name="l00008"></a>00008 <span class="comment">** This file may be distributed under the terms of the quickfixengine.org</span>
<a name="l00009"></a>00009 <span class="comment">** license as defined by quickfixengine.org and appearing in the file</span>
<a name="l00010"></a>00010 <span class="comment">** LICENSE included in the packaging of this file.</span>
<a name="l00011"></a>00011 <span class="comment">**</span>
<a name="l00012"></a>00012 <span class="comment">** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE</span>
<a name="l00013"></a>00013 <span class="comment">** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.</span>
<a name="l00014"></a>00014 <span class="comment">**</span>
<a name="l00015"></a>00015 <span class="comment">** See http://www.quickfixengine.org/LICENSE for licensing information.</span>
<a name="l00016"></a>00016 <span class="comment">**</span>
<a name="l00017"></a>00017 <span class="comment">** Contact ask@quickfixengine.org if any conditions of this licensing are</span>
<a name="l00018"></a>00018 <span class="comment">** not clear to you.</span>
<a name="l00019"></a>00019 <span class="comment">**</span>
<a name="l00020"></a>00020 <span class="comment">****************************************************************************/</span>
<a name="l00021"></a>00021
<a name="l00022"></a>00022 <span class="preprocessor">#ifndef FIX_EXCEPTIONS_H</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#define FIX_EXCEPTIONS_H</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 <span class="preprocessor">#include <string></span>
<a name="l00026"></a>00026 <span class="preprocessor">#include <stdexcept></span>
<a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="_utility_8h.html">Utility.h</a>"</span>
<a name="l00028"></a>00028
<a name="l00029"></a>00029 <span class="keyword">namespace </span>FIX
<a name="l00030"></a>00030 {
<a name="l00031"></a>00031
<a name="l00033"></a><a class="code" href="struct_f_i_x_1_1_exception.html">00033</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a> : <span class="keyword">public</span> std::logic_error
<a name="l00034"></a>00034 {
<a name="l00035"></a><a class="code" href="struct_f_i_x_1_1_exception.html#a9f434ffbe7683c8271b76a87ded6c345">00035</a> <a class="code" href="struct_f_i_x_1_1_exception.html#a9f434ffbe7683c8271b76a87ded6c345">Exception</a>( <span class="keyword">const</span> std::string& t, <span class="keyword">const</span> std::string& d )
<a name="l00036"></a>00036 : std::logic_error( d.size() ? t + <span class="stringliteral">": "</span> + d : t ),
<a name="l00037"></a>00037 <a class="code" href="struct_f_i_x_1_1_exception.html#a40ebdd26f57f2d0e3bbd9c6856e0b2f4">type</a>( t ), <a class="code" href="struct_f_i_x_1_1_exception.html#a2b84f352715b72e8886da1e2706929fd">detail</a>( d )
<a name="l00038"></a>00038 {}
<a name="l00039"></a><a class="code" href="struct_f_i_x_1_1_exception.html#a1b307df83d6998315348a9e5fb5faefe">00039</a> <a class="code" href="struct_f_i_x_1_1_exception.html#a1b307df83d6998315348a9e5fb5faefe">~Exception</a>() throw() {}
<a name="l00040"></a>00040
<a name="l00041"></a><a class="code" href="struct_f_i_x_1_1_exception.html#a40ebdd26f57f2d0e3bbd9c6856e0b2f4">00041</a> std::string <a class="code" href="struct_f_i_x_1_1_exception.html#a40ebdd26f57f2d0e3bbd9c6856e0b2f4">type</a>;
<a name="l00042"></a><a class="code" href="struct_f_i_x_1_1_exception.html#a2b84f352715b72e8886da1e2706929fd">00042</a> std::string <a class="code" href="struct_f_i_x_1_1_exception.html#a2b84f352715b72e8886da1e2706929fd">detail</a>;
<a name="l00043"></a>00043 };
<a name="l00044"></a>00044
<a name="l00046"></a><a class="code" href="struct_f_i_x_1_1_data_dictionary_not_found.html">00046</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_data_dictionary_not_found.html" title="DataDictionary not found for BeginString or ApplVerID.">DataDictionaryNotFound</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00047"></a>00047 {
<a name="l00048"></a><a class="code" href="struct_f_i_x_1_1_data_dictionary_not_found.html#afcccafe9584d3018b6918289731381fc">00048</a> <a class="code" href="struct_f_i_x_1_1_data_dictionary_not_found.html#afcccafe9584d3018b6918289731381fc">DataDictionaryNotFound</a>( <span class="keyword">const</span> std::string& v, <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00049"></a>00049 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Could not find data dictionary"</span>, what ),
<a name="l00050"></a>00050 <a class="code" href="struct_f_i_x_1_1_data_dictionary_not_found.html#ab3e5f15a55bfcf6796e12f3ffaf0414d">version</a>( v ) {}
<a name="l00051"></a><a class="code" href="struct_f_i_x_1_1_data_dictionary_not_found.html#a0fe790037ffc361eb0186ce45efdb293">00051</a> <a class="code" href="struct_f_i_x_1_1_data_dictionary_not_found.html#a0fe790037ffc361eb0186ce45efdb293">~DataDictionaryNotFound</a>() throw() {}
<a name="l00052"></a>00052
<a name="l00053"></a><a class="code" href="struct_f_i_x_1_1_data_dictionary_not_found.html#ab3e5f15a55bfcf6796e12f3ffaf0414d">00053</a> std::string <a class="code" href="struct_f_i_x_1_1_data_dictionary_not_found.html#ab3e5f15a55bfcf6796e12f3ffaf0414d">version</a>;
<a name="l00054"></a>00054 };
<a name="l00055"></a>00055
<a name="l00057"></a><a class="code" href="struct_f_i_x_1_1_field_not_found.html">00057</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_field_not_found.html" title="Field not found inside a message.">FieldNotFound</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00058"></a>00058 {
<a name="l00059"></a><a class="code" href="struct_f_i_x_1_1_field_not_found.html#a0aaecc778d6655d33da11a659987b230">00059</a> <a class="code" href="struct_f_i_x_1_1_field_not_found.html#a0aaecc778d6655d33da11a659987b230">FieldNotFound</a>( <span class="keywordtype">int</span> f = 0, <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00060"></a>00060 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Field not found"</span>, what ),
<a name="l00061"></a>00061 <a class="code" href="struct_f_i_x_1_1_field_not_found.html#adb169fb071b83faa47f883b88d211fb4">field</a>( f ) {}
<a name="l00062"></a><a class="code" href="struct_f_i_x_1_1_field_not_found.html#adb169fb071b83faa47f883b88d211fb4">00062</a> <span class="keywordtype">int</span> <a class="code" href="struct_f_i_x_1_1_field_not_found.html#adb169fb071b83faa47f883b88d211fb4">field</a>;
<a name="l00063"></a>00063 };
<a name="l00064"></a>00064
<a name="l00066"></a><a class="code" href="struct_f_i_x_1_1_field_convert_error.html">00066</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_field_convert_error.html" title="Unable to convert field into its native format.">FieldConvertError</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00067"></a>00067 {
<a name="l00068"></a><a class="code" href="struct_f_i_x_1_1_field_convert_error.html#adf64b805b41abd741436130b90d6e55b">00068</a> <a class="code" href="struct_f_i_x_1_1_field_convert_error.html#adf64b805b41abd741436130b90d6e55b">FieldConvertError</a>( <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00069"></a>00069 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Could not convert field"</span>, what ) {}
<a name="l00070"></a>00070 };
<a name="l00071"></a>00071
<a name="l00073"></a><a class="code" href="struct_f_i_x_1_1_message_parse_error.html">00073</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_message_parse_error.html" title="Unable to parse message.">MessageParseError</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00074"></a>00074 {
<a name="l00075"></a><a class="code" href="struct_f_i_x_1_1_message_parse_error.html#a211c6bcd5cb9348daa9fa4e5335684b7">00075</a> <a class="code" href="struct_f_i_x_1_1_message_parse_error.html#a211c6bcd5cb9348daa9fa4e5335684b7">MessageParseError</a>( <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00076"></a>00076 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Could not parse message"</span>, what ) {}
<a name="l00077"></a>00077 };
<a name="l00078"></a>00078
<a name="l00080"></a><a class="code" href="struct_f_i_x_1_1_invalid_message.html">00080</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_invalid_message.html" title="Not a recognizable message.">InvalidMessage</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00081"></a>00081 {
<a name="l00082"></a><a class="code" href="struct_f_i_x_1_1_invalid_message.html#acc856bbf31ce32bbc2526336bc8ab178">00082</a> <a class="code" href="struct_f_i_x_1_1_invalid_message.html#acc856bbf31ce32bbc2526336bc8ab178">InvalidMessage</a>( <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00083"></a>00083 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Invalid message"</span>, what ) {}
<a name="l00084"></a>00084 };
<a name="l00085"></a>00085
<a name="l00087"></a><a class="code" href="struct_f_i_x_1_1_config_error.html">00087</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_config_error.html" title="Application is not configured correctly">ConfigError</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00088"></a>00088 {
<a name="l00089"></a><a class="code" href="struct_f_i_x_1_1_config_error.html#a25b936aeee0ac0bce551bea2a87ec815">00089</a> <a class="code" href="struct_f_i_x_1_1_config_error.html#a25b936aeee0ac0bce551bea2a87ec815">ConfigError</a>( <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00090"></a>00090 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Configuration failed"</span>, what ) {}
<a name="l00091"></a>00091 };
<a name="l00092"></a>00092
<a name="l00094"></a><a class="code" href="struct_f_i_x_1_1_runtime_error.html">00094</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_runtime_error.html" title="Application encountered serious error during runtime">RuntimeError</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00095"></a>00095 {
<a name="l00096"></a><a class="code" href="struct_f_i_x_1_1_runtime_error.html#ab5fd89442836ffc8102e84872e102ca8">00096</a> <a class="code" href="struct_f_i_x_1_1_runtime_error.html#ab5fd89442836ffc8102e84872e102ca8">RuntimeError</a>( <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00097"></a>00097 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Runtime error"</span>, what ) {}
<a name="l00098"></a>00098 };
<a name="l00099"></a>00099
<a name="l00101"></a><a class="code" href="struct_f_i_x_1_1_invalid_tag_number.html">00101</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_invalid_tag_number.html" title="Tag number does not exist in specification.">InvalidTagNumber</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00102"></a>00102 {
<a name="l00103"></a><a class="code" href="struct_f_i_x_1_1_invalid_tag_number.html#ac5132da22f9690f4b48457047bcf468a">00103</a> <a class="code" href="struct_f_i_x_1_1_invalid_tag_number.html#ac5132da22f9690f4b48457047bcf468a">InvalidTagNumber</a>( <span class="keywordtype">int</span> f = 0, <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00104"></a>00104 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Invalid tag number"</span>, what ),
<a name="l00105"></a>00105 <a class="code" href="struct_f_i_x_1_1_invalid_tag_number.html#a7e808001e1fcc2d781e552ab0bfc96b6">field</a>( f ) {}
<a name="l00106"></a><a class="code" href="struct_f_i_x_1_1_invalid_tag_number.html#a7e808001e1fcc2d781e552ab0bfc96b6">00106</a> <span class="keywordtype">int</span> <a class="code" href="struct_f_i_x_1_1_invalid_tag_number.html#a7e808001e1fcc2d781e552ab0bfc96b6">field</a>;
<a name="l00107"></a>00107 };
<a name="l00108"></a>00108
<a name="l00110"></a><a class="code" href="struct_f_i_x_1_1_required_tag_missing.html">00110</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_required_tag_missing.html" title="Required field is not in message.">RequiredTagMissing</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00111"></a>00111 {
<a name="l00112"></a><a class="code" href="struct_f_i_x_1_1_required_tag_missing.html#a670067e67ca6b68f0a3366ca1c0d54c9">00112</a> <a class="code" href="struct_f_i_x_1_1_required_tag_missing.html#a670067e67ca6b68f0a3366ca1c0d54c9">RequiredTagMissing</a>( <span class="keywordtype">int</span> f = 0, <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00113"></a>00113 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Required tag missing"</span>, what ),
<a name="l00114"></a>00114 <a class="code" href="struct_f_i_x_1_1_required_tag_missing.html#a2994ce82be5a360e916509b0ebcdca52">field</a>( f ) {}
<a name="l00115"></a><a class="code" href="struct_f_i_x_1_1_required_tag_missing.html#a2994ce82be5a360e916509b0ebcdca52">00115</a> <span class="keywordtype">int</span> <a class="code" href="struct_f_i_x_1_1_required_tag_missing.html#a2994ce82be5a360e916509b0ebcdca52">field</a>;
<a name="l00116"></a>00116 };
<a name="l00117"></a>00117
<a name="l00119"></a><a class="code" href="struct_f_i_x_1_1_tag_not_defined_for_message.html">00119</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_tag_not_defined_for_message.html" title="Field does not belong to message.">TagNotDefinedForMessage</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00120"></a>00120 {
<a name="l00121"></a><a class="code" href="struct_f_i_x_1_1_tag_not_defined_for_message.html#af9aaa7b0352e24841bb56d374d36fd56">00121</a> <a class="code" href="struct_f_i_x_1_1_tag_not_defined_for_message.html#af9aaa7b0352e24841bb56d374d36fd56">TagNotDefinedForMessage</a>( <span class="keywordtype">int</span> f = 0, <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00122"></a>00122 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Tag not defined for this message type"</span>, what ),
<a name="l00123"></a>00123 <a class="code" href="struct_f_i_x_1_1_tag_not_defined_for_message.html#a7589d7de8750c54beedb452b5b795c61">field</a>( f ) {}
<a name="l00124"></a><a class="code" href="struct_f_i_x_1_1_tag_not_defined_for_message.html#a7589d7de8750c54beedb452b5b795c61">00124</a> <span class="keywordtype">int</span> <a class="code" href="struct_f_i_x_1_1_tag_not_defined_for_message.html#a7589d7de8750c54beedb452b5b795c61">field</a>;
<a name="l00125"></a>00125 };
<a name="l00126"></a>00126
<a name="l00128"></a><a class="code" href="struct_f_i_x_1_1_no_tag_value.html">00128</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_no_tag_value.html" title="Field exists in message without a value.">NoTagValue</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00129"></a>00129 {
<a name="l00130"></a><a class="code" href="struct_f_i_x_1_1_no_tag_value.html#a692356ccabb44963efb5f6abecdabf0d">00130</a> <a class="code" href="struct_f_i_x_1_1_no_tag_value.html#a692356ccabb44963efb5f6abecdabf0d">NoTagValue</a>( <span class="keywordtype">int</span> f = 0, <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00131"></a>00131 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Tag specified without a value"</span>, what ),
<a name="l00132"></a>00132 <a class="code" href="struct_f_i_x_1_1_no_tag_value.html#a9f456722eef5d7d14ede50c4326a6b3c">field</a>( f ) {}
<a name="l00133"></a><a class="code" href="struct_f_i_x_1_1_no_tag_value.html#a9f456722eef5d7d14ede50c4326a6b3c">00133</a> <span class="keywordtype">int</span> <a class="code" href="struct_f_i_x_1_1_no_tag_value.html#a9f456722eef5d7d14ede50c4326a6b3c">field</a>;
<a name="l00134"></a>00134 };
<a name="l00135"></a>00135
<a name="l00137"></a><a class="code" href="struct_f_i_x_1_1_incorrect_tag_value.html">00137</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_incorrect_tag_value.html" title="Field has a value that is out of range.">IncorrectTagValue</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00138"></a>00138 {
<a name="l00139"></a><a class="code" href="struct_f_i_x_1_1_incorrect_tag_value.html#add15c76ef334881892f1ced5e1e0ad93">00139</a> <a class="code" href="struct_f_i_x_1_1_incorrect_tag_value.html#add15c76ef334881892f1ced5e1e0ad93">IncorrectTagValue</a>( <span class="keywordtype">int</span> f = 0, <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00140"></a>00140 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Value is incorrect (out of range) for this tag"</span>, what ),
<a name="l00141"></a>00141 <a class="code" href="struct_f_i_x_1_1_incorrect_tag_value.html#af487d249e4bec1a2320beb799f446e28">field</a>( f ) {}
<a name="l00142"></a><a class="code" href="struct_f_i_x_1_1_incorrect_tag_value.html#af487d249e4bec1a2320beb799f446e28">00142</a> <span class="keywordtype">int</span> <a class="code" href="struct_f_i_x_1_1_incorrect_tag_value.html#af487d249e4bec1a2320beb799f446e28">field</a>;
<a name="l00143"></a>00143 };
<a name="l00144"></a>00144
<a name="l00146"></a><a class="code" href="struct_f_i_x_1_1_incorrect_data_format.html">00146</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_incorrect_data_format.html" title="Field has a badly formatted value.">IncorrectDataFormat</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00147"></a>00147 {
<a name="l00148"></a><a class="code" href="struct_f_i_x_1_1_incorrect_data_format.html#a6eb79e60ad9e9eef259bc55f6d0a92c9">00148</a> <a class="code" href="struct_f_i_x_1_1_incorrect_data_format.html#a6eb79e60ad9e9eef259bc55f6d0a92c9">IncorrectDataFormat</a>( <span class="keywordtype">int</span> f = 0, <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00149"></a>00149 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Incorrect data format for value"</span>, what ),
<a name="l00150"></a>00150 <a class="code" href="struct_f_i_x_1_1_incorrect_data_format.html#a34559644cfca3238fc75ddf9b85b2f65">field</a>( f ) {}
<a name="l00151"></a><a class="code" href="struct_f_i_x_1_1_incorrect_data_format.html#a34559644cfca3238fc75ddf9b85b2f65">00151</a> <span class="keywordtype">int</span> <a class="code" href="struct_f_i_x_1_1_incorrect_data_format.html#a34559644cfca3238fc75ddf9b85b2f65">field</a>;
<a name="l00152"></a>00152 };
<a name="l00153"></a>00153
<a name="l00155"></a><a class="code" href="struct_f_i_x_1_1_incorrect_message_structure.html">00155</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_incorrect_message_structure.html" title="Message is not structured correctly.">IncorrectMessageStructure</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00156"></a>00156 {
<a name="l00157"></a><a class="code" href="struct_f_i_x_1_1_incorrect_message_structure.html#af0ca2357d4f385f40202f13f9771dff9">00157</a> <a class="code" href="struct_f_i_x_1_1_incorrect_message_structure.html#af0ca2357d4f385f40202f13f9771dff9">IncorrectMessageStructure</a>( <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00158"></a>00158 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Incorrect message structure"</span>, what ) {}
<a name="l00159"></a>00159 };
<a name="l00160"></a>00160
<a name="l00162"></a><a class="code" href="struct_f_i_x_1_1_duplicate_field_number.html">00162</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_duplicate_field_number.html" title="Field shows up twice in the message.">DuplicateFieldNumber</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00163"></a>00163 {
<a name="l00164"></a><a class="code" href="struct_f_i_x_1_1_duplicate_field_number.html#a1d84bca927dedf15c6f94f079c8ad76d">00164</a> <a class="code" href="struct_f_i_x_1_1_duplicate_field_number.html#a1d84bca927dedf15c6f94f079c8ad76d">DuplicateFieldNumber</a>( <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00165"></a>00165 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Duplicate field number"</span>, what ) {}
<a name="l00166"></a>00166 };
<a name="l00167"></a>00167
<a name="l00169"></a><a class="code" href="struct_f_i_x_1_1_invalid_message_type.html">00169</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_invalid_message_type.html" title="Not a known message type.">InvalidMessageType</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00170"></a>00170 {
<a name="l00171"></a><a class="code" href="struct_f_i_x_1_1_invalid_message_type.html#a7de58be3d5f0c74c45533bae48477523">00171</a> <a class="code" href="struct_f_i_x_1_1_invalid_message_type.html#a7de58be3d5f0c74c45533bae48477523">InvalidMessageType</a>( <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00172"></a>00172 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Invalid Message Type"</span>, what ) {}
<a name="l00173"></a>00173 };
<a name="l00174"></a>00174
<a name="l00176"></a><a class="code" href="struct_f_i_x_1_1_unsupported_message_type.html">00176</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_unsupported_message_type.html" title="Message type not supported by application.">UnsupportedMessageType</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00177"></a>00177 {
<a name="l00178"></a><a class="code" href="struct_f_i_x_1_1_unsupported_message_type.html#a9f26ff3f6dd50008703c9dd14bc5854a">00178</a> <a class="code" href="struct_f_i_x_1_1_unsupported_message_type.html#a9f26ff3f6dd50008703c9dd14bc5854a">UnsupportedMessageType</a>( <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00179"></a>00179 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Unsupported Message Type"</span>, what ) {}
<a name="l00180"></a>00180 };
<a name="l00181"></a>00181
<a name="l00183"></a><a class="code" href="struct_f_i_x_1_1_unsupported_version.html">00183</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_unsupported_version.html" title="Version of FIX is not supported.">UnsupportedVersion</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00184"></a>00184 {
<a name="l00185"></a><a class="code" href="struct_f_i_x_1_1_unsupported_version.html#a2664b96a552fb43f2491e8dfec5e4472">00185</a> <a class="code" href="struct_f_i_x_1_1_unsupported_version.html#a2664b96a552fb43f2491e8dfec5e4472">UnsupportedVersion</a>( <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00186"></a>00186 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Unsupported Version"</span>, what ) {}
<a name="l00187"></a>00187 };
<a name="l00188"></a>00188
<a name="l00190"></a><a class="code" href="struct_f_i_x_1_1_tag_out_of_order.html">00190</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_tag_out_of_order.html" title="Tag is not in the correct order.">TagOutOfOrder</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00191"></a>00191 {
<a name="l00192"></a><a class="code" href="struct_f_i_x_1_1_tag_out_of_order.html#a04b2a16ddd739a58440a3c7ce39505cc">00192</a> <a class="code" href="struct_f_i_x_1_1_tag_out_of_order.html#a04b2a16ddd739a58440a3c7ce39505cc">TagOutOfOrder</a>( <span class="keywordtype">int</span> f = 0, <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00193"></a>00193 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Tag specified out of required order"</span>, what ),
<a name="l00194"></a>00194 <a class="code" href="struct_f_i_x_1_1_tag_out_of_order.html#a5e3b2f7c0e4c43f5b7dca25cfa31c337">field</a>( f ) {}
<a name="l00195"></a><a class="code" href="struct_f_i_x_1_1_tag_out_of_order.html#a5e3b2f7c0e4c43f5b7dca25cfa31c337">00195</a> <span class="keywordtype">int</span> <a class="code" href="struct_f_i_x_1_1_tag_out_of_order.html#a5e3b2f7c0e4c43f5b7dca25cfa31c337">field</a>;
<a name="l00196"></a>00196 };
<a name="l00197"></a>00197
<a name="l00199"></a><a class="code" href="struct_f_i_x_1_1_repeated_tag.html">00199</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_repeated_tag.html" title="Repeated tag not part of repeating group.">RepeatedTag</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00200"></a>00200 {
<a name="l00201"></a><a class="code" href="struct_f_i_x_1_1_repeated_tag.html#a62fc3ffd3f0452cc6ef635f289bfd195">00201</a> <a class="code" href="struct_f_i_x_1_1_repeated_tag.html#a62fc3ffd3f0452cc6ef635f289bfd195">RepeatedTag</a>( <span class="keywordtype">int</span> f = 0, <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00202"></a>00202 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Repeated tag not part of repeating group"</span>, what ),
<a name="l00203"></a>00203 <a class="code" href="struct_f_i_x_1_1_repeated_tag.html#a519431061d801b625493e6fbdba2a253">field</a>( f ) {}
<a name="l00204"></a><a class="code" href="struct_f_i_x_1_1_repeated_tag.html#a519431061d801b625493e6fbdba2a253">00204</a> <span class="keywordtype">int</span> <a class="code" href="struct_f_i_x_1_1_repeated_tag.html#a519431061d801b625493e6fbdba2a253">field</a>;
<a name="l00205"></a>00205 };
<a name="l00206"></a>00206
<a name="l00208"></a><a class="code" href="struct_f_i_x_1_1_repeating_group_count_mismatch.html">00208</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_repeating_group_count_mismatch.html" title="Repeated group count not equal to actual count.">RepeatingGroupCountMismatch</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00209"></a>00209 {
<a name="l00210"></a><a class="code" href="struct_f_i_x_1_1_repeating_group_count_mismatch.html#a2b440076af0611286360e86d9690fc33">00210</a> <a class="code" href="struct_f_i_x_1_1_repeating_group_count_mismatch.html#a2b440076af0611286360e86d9690fc33">RepeatingGroupCountMismatch</a>( <span class="keywordtype">int</span> f = 0, <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00211"></a>00211 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Repeating group count mismatch"</span>, what ),
<a name="l00212"></a>00212 <a class="code" href="struct_f_i_x_1_1_repeating_group_count_mismatch.html#a2e54a56f9cc3f48ddd30cdbecc234fc5">field</a>( f ) {}
<a name="l00213"></a><a class="code" href="struct_f_i_x_1_1_repeating_group_count_mismatch.html#a2e54a56f9cc3f48ddd30cdbecc234fc5">00213</a> <span class="keywordtype">int</span> <a class="code" href="struct_f_i_x_1_1_repeating_group_count_mismatch.html#a2e54a56f9cc3f48ddd30cdbecc234fc5">field</a>;
<a name="l00214"></a>00214 };
<a name="l00215"></a>00215
<a name="l00217"></a><a class="code" href="struct_f_i_x_1_1_do_not_send.html">00217</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_do_not_send.html" title="Indicates user does not want to send a message.">DoNotSend</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00218"></a>00218 {
<a name="l00219"></a><a class="code" href="struct_f_i_x_1_1_do_not_send.html#a29f19504104ba590cb80bd568a339236">00219</a> <a class="code" href="struct_f_i_x_1_1_do_not_send.html#a29f19504104ba590cb80bd568a339236">DoNotSend</a>( <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00220"></a>00220 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Do Not Send Message"</span>, what ) {}
<a name="l00221"></a>00221 };
<a name="l00222"></a>00222
<a name="l00224"></a><a class="code" href="struct_f_i_x_1_1_reject_logon.html">00224</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_reject_logon.html" title="User wants to reject permission to logon.">RejectLogon</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00225"></a>00225 {
<a name="l00226"></a><a class="code" href="struct_f_i_x_1_1_reject_logon.html#a0cbeafeac132501b661679facf7c87a8">00226</a> <a class="code" href="struct_f_i_x_1_1_reject_logon.html#a0cbeafeac132501b661679facf7c87a8">RejectLogon</a>( <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00227"></a>00227 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Rejected Logon Attempt"</span>, what ) {}
<a name="l00228"></a>00228 };
<a name="l00229"></a>00229
<a name="l00231"></a><a class="code" href="struct_f_i_x_1_1_session_not_found.html">00231</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_session_not_found.html" title="Session cannot be found for specified action.">SessionNotFound</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00232"></a>00232 {
<a name="l00233"></a><a class="code" href="struct_f_i_x_1_1_session_not_found.html#a055a4a4c05c6ca46b44ca08c01f4ee60">00233</a> <a class="code" href="struct_f_i_x_1_1_session_not_found.html#a055a4a4c05c6ca46b44ca08c01f4ee60">SessionNotFound</a>( <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00234"></a>00234 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Session Not Found"</span>, what ) {}
<a name="l00235"></a>00235 };
<a name="l00236"></a>00236
<a name="l00238"></a><a class="code" href="struct_f_i_x_1_1_i_o_exception.html">00238</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_i_o_exception.html" title="IO Error.">IOException</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00239"></a>00239 {
<a name="l00240"></a><a class="code" href="struct_f_i_x_1_1_i_o_exception.html#a6ee9ce3fd6d67389c92a216de5827661">00240</a> <a class="code" href="struct_f_i_x_1_1_i_o_exception.html#a6ee9ce3fd6d67389c92a216de5827661">IOException</a>( <span class="keyword">const</span> std::string& what = <span class="stringliteral">""</span> )
<a name="l00241"></a>00241 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"IO Error"</span>, what ) {}
<a name="l00242"></a>00242 };
<a name="l00243"></a>00243
<a name="l00245"></a><a class="code" href="struct_f_i_x_1_1_socket_exception.html">00245</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_socket_exception.html" title="Socket Error.">SocketException</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>
<a name="l00246"></a>00246 {
<a name="l00247"></a><a class="code" href="struct_f_i_x_1_1_socket_exception.html#aac5d17d837b88abf84607e2606f5b74c">00247</a> <a class="code" href="struct_f_i_x_1_1_socket_exception.html#aac5d17d837b88abf84607e2606f5b74c">SocketException</a>()
<a name="l00248"></a>00248 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Socket Error"</span>, <a class="code" href="struct_f_i_x_1_1_socket_exception.html#afa1195dd84b8164f34c1b837feacb22c">errorToWhat</a>() ) {}
<a name="l00249"></a>00249
<a name="l00250"></a><a class="code" href="struct_f_i_x_1_1_socket_exception.html#a96badf75e947ac0fb93eb408e74cc9a9">00250</a> <a class="code" href="struct_f_i_x_1_1_socket_exception.html#aac5d17d837b88abf84607e2606f5b74c">SocketException</a>( <span class="keyword">const</span> std::string& what )
<a name="l00251"></a>00251 : <a class="code" href="struct_f_i_x_1_1_exception.html" title="Base QuickFIX exception type.">Exception</a>( <span class="stringliteral">"Socket Error"</span>, what ) {}
<a name="l00252"></a>00252
<a name="l00253"></a><a class="code" href="struct_f_i_x_1_1_socket_exception.html#afa1195dd84b8164f34c1b837feacb22c">00253</a> std::string <a class="code" href="struct_f_i_x_1_1_socket_exception.html#afa1195dd84b8164f34c1b837feacb22c">errorToWhat</a>()
<a name="l00254"></a>00254 {
<a name="l00255"></a>00255 <span class="preprocessor">#ifdef _MSC_VER</span>
<a name="l00256"></a>00256 <span class="preprocessor"></span> <a class="code" href="struct_f_i_x_1_1_socket_exception.html#a82aacd51bb70f840c380901b88fa5667">error</a> = WSAGetLastError();
<a name="l00257"></a>00257 <span class="keywordtype">char</span> buffer[2048];
<a name="l00258"></a>00258 FormatMessage( FORMAT_MESSAGE_FROM_SYSTEM, NULL, <a class="code" href="struct_f_i_x_1_1_socket_exception.html#a82aacd51bb70f840c380901b88fa5667">error</a>,
<a name="l00259"></a>00259 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
<a name="l00260"></a>00260 buffer, 2048, NULL );
<a name="l00261"></a>00261 <span class="keywordflow">return</span> buffer;
<a name="l00262"></a>00262 <span class="preprocessor">#else</span>
<a name="l00263"></a>00263 <span class="preprocessor"></span> <a class="code" href="struct_f_i_x_1_1_socket_exception.html#a82aacd51bb70f840c380901b88fa5667">error</a> = errno;
<a name="l00264"></a>00264 <span class="keywordflow">return</span> strerror( <a class="code" href="struct_f_i_x_1_1_socket_exception.html#a82aacd51bb70f840c380901b88fa5667">error</a> );
<a name="l00265"></a>00265 <span class="preprocessor">#endif</span>
<a name="l00266"></a>00266 <span class="preprocessor"></span> }
<a name="l00267"></a>00267
<a name="l00268"></a><a class="code" href="struct_f_i_x_1_1_socket_exception.html#a82aacd51bb70f840c380901b88fa5667">00268</a> <span class="keywordtype">int</span> <a class="code" href="struct_f_i_x_1_1_socket_exception.html#a82aacd51bb70f840c380901b88fa5667">error</a>;
<a name="l00269"></a>00269 };
<a name="l00270"></a>00270
<a name="l00272"></a><a class="code" href="struct_f_i_x_1_1_socket_send_failed.html">00272</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_socket_send_failed.html" title="Socket send operation failed.">SocketSendFailed</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_socket_exception.html" title="Socket Error.">SocketException</a>
<a name="l00273"></a>00273 {
<a name="l00274"></a><a class="code" href="struct_f_i_x_1_1_socket_send_failed.html#ae05ec711c8951a4f4ace89882116901e">00274</a> <a class="code" href="struct_f_i_x_1_1_socket_send_failed.html#ae05ec711c8951a4f4ace89882116901e">SocketSendFailed</a>() {}
<a name="l00275"></a><a class="code" href="struct_f_i_x_1_1_socket_send_failed.html#a44b164f3b379487e0f572d730ee9e746">00275</a> <a class="code" href="struct_f_i_x_1_1_socket_send_failed.html#ae05ec711c8951a4f4ace89882116901e">SocketSendFailed</a>( <span class="keyword">const</span> std::string& what )
<a name="l00276"></a>00276 : <a class="code" href="struct_f_i_x_1_1_socket_exception.html" title="Socket Error.">SocketException</a>( what ) {}
<a name="l00277"></a>00277 };
<a name="l00278"></a>00278
<a name="l00280"></a><a class="code" href="struct_f_i_x_1_1_socket_recv_failed.html">00280</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_socket_recv_failed.html" title="Socket recv operation failed.">SocketRecvFailed</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_socket_exception.html" title="Socket Error.">SocketException</a>
<a name="l00281"></a>00281 {
<a name="l00282"></a><a class="code" href="struct_f_i_x_1_1_socket_recv_failed.html#a5089acb7473c0f70ebab7b74715d64ce">00282</a> <a class="code" href="struct_f_i_x_1_1_socket_recv_failed.html#a5089acb7473c0f70ebab7b74715d64ce">SocketRecvFailed</a>( <span class="keywordtype">int</span> size )
<a name="l00283"></a>00283 : <a class="code" href="struct_f_i_x_1_1_socket_exception.html" title="Socket Error.">SocketException</a>( size == 0 ? <span class="stringliteral">"Connection reset by peer."</span> : size < 0 ? <a class="code" href="struct_f_i_x_1_1_socket_exception.html#afa1195dd84b8164f34c1b837feacb22c">errorToWhat</a>() : <span class="stringliteral">"Success."</span> ) {}
<a name="l00284"></a><a class="code" href="struct_f_i_x_1_1_socket_recv_failed.html#a45e3d9c1fefb62030a4233e60c927a2e">00284</a> <a class="code" href="struct_f_i_x_1_1_socket_recv_failed.html#a5089acb7473c0f70ebab7b74715d64ce">SocketRecvFailed</a>( <span class="keyword">const</span> std::string& what )
<a name="l00285"></a>00285 : <a class="code" href="struct_f_i_x_1_1_socket_exception.html" title="Socket Error.">SocketException</a>( what ) {}
<a name="l00286"></a>00286 };
<a name="l00287"></a>00287
<a name="l00289"></a><a class="code" href="struct_f_i_x_1_1_socket_close_failed.html">00289</a> <span class="keyword">struct </span><a class="code" href="struct_f_i_x_1_1_socket_close_failed.html" title="Socket close operation failed.">SocketCloseFailed</a> : <span class="keyword">public</span> <a class="code" href="struct_f_i_x_1_1_socket_exception.html" title="Socket Error.">SocketException</a>
<a name="l00290"></a>00290 {
<a name="l00291"></a><a class="code" href="struct_f_i_x_1_1_socket_close_failed.html#a235db04b559e924364772274ea018888">00291</a> <a class="code" href="struct_f_i_x_1_1_socket_close_failed.html#a235db04b559e924364772274ea018888">SocketCloseFailed</a>() {}
<a name="l00292"></a><a class="code" href="struct_f_i_x_1_1_socket_close_failed.html#a92d83ae3659ca31e67b1213d62489012">00292</a> <a class="code" href="struct_f_i_x_1_1_socket_close_failed.html#a235db04b559e924364772274ea018888">SocketCloseFailed</a>( <span class="keyword">const</span> std::string& what )
<a name="l00293"></a>00293 : <a class="code" href="struct_f_i_x_1_1_socket_exception.html" title="Socket Error.">SocketException</a>( what ) {}
<a name="l00294"></a>00294 };
<a name="l00295"></a>00295
<a name="l00297"></a>00297 }
<a name="l00298"></a>00298
<a name="l00299"></a>00299 <span class="preprocessor">#endif //FIX_EXCEPTIONS_H</span>
</pre></div></div>
<hr><address><small>
Generated on Mon Apr 5 20:59:50 2010 for QuickFIX by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53>
</a> 1.6.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
© 1997-2001</small></address>
</body>
</html>
|