Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62786 - trunk/libs/serialization/doc
From: ramey_at_[hidden]
Date: 2010-06-11 00:12:00


Author: ramey
Date: 2010-06-11 00:11:59 EDT (Fri, 11 Jun 2010)
New Revision: 62786
URL: http://svn.boost.org/trac/boost/changeset/62786

Log:
Separated stream exceptions into input/output
Text files modified:
   trunk/libs/serialization/doc/exceptions.html | 14 ++++++++++----
   1 files changed, 10 insertions(+), 4 deletions(-)

Modified: trunk/libs/serialization/doc/exceptions.html
==============================================================================
--- trunk/libs/serialization/doc/exceptions.html (original)
+++ trunk/libs/serialization/doc/exceptions.html 2010-06-11 00:11:59 EDT (Fri, 11 Jun 2010)
@@ -33,7 +33,8 @@
   <dt>pointer_conflict
   <dt>incompatible_native_format
   <dt>array_size_too_short
- <dt>stream_error
+ <dt>input_stream_error
+ <dt>output_stream_error
   <dt>invalid_class_name
   <dt>unregistered_class
   <dt>multiple_code_instantiation
@@ -70,7 +71,7 @@
         incompatible_native_format, // attempt to read native binary format
                                 // on incompatible platform
         array_size_too_short, // array being loaded doesn't fit in array allocated
- stream_error // i/o error on stream
+ input_stream_error // error on stream input
         invalid_class_name, // class name greater than the maximum permitted.
                                 // most likely a corrupted archive or an attempt
                                 // to insert virus via buffer overrun method.
@@ -79,8 +80,9 @@
         unsupported_class_version, // type saved with a version # greater than the
                             // one used by the program. This indicates that the proggram
                             // needs to be rebuilt.
- multiple_code_instantiation // code for implementing serialization for some
+ multiple_code_instantiation, // code for implementing serialization for some
                             // type has been instantiated in more than one module.
+ output_stream_error // error on stream output
     } exception_code;
     exception_code code;
     archive_exception(exception_code c) : code(c) {}
@@ -177,7 +179,11 @@
 This should only occur when the size of an array in code is reduced after an
 archive has already been created.
 
-<h3><a name="stream_error"><code style="white-space: normal">stream_error</code></a></h3>
+<h3>
+<a name="input_stream_error"><code style="white-space: normal">input_stream_error</code></a>
+<br>
+<a name="output_stream_error"><code style="white-space: normal">output_stream_error</code></a>
+</h3>
 An error has occured during stream input or ouput. Aside from the common
 situations such as a corrupted or truncated input file, there are
 several less obvious ones that sometimes occur.


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk