SourcePro C++ 13.0 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Reports errors due to an incomplete stream operation. More...
#include <rw/stream/RWIncompleteStreamOperation.h>
Public Member Functions | |
RWIncompleteStreamOperation () | |
RWIncompleteStreamOperation (const char *msg, ErrorCode err, RWSize partial) | |
RWIncompleteStreamOperation (const RWCString &msg, ErrorCode err, RWSize partial) | |
RWIncompleteStreamOperation (const RWIncompleteStreamOperation &x) | |
RWSize | elementsProcessed () const |
Public Member Functions inherited from RWExternalStreamException | |
RWExternalStreamException () | |
RWExternalStreamException (const char *msg, ErrorCode err) | |
RWExternalStreamException (const RWCString &msg, ErrorCode err) | |
RWExternalStreamException (const RWExternalStreamException &x) | |
ErrorCode | errorCode () const |
Additional Inherited Members | |
Public Types inherited from RWExternalStreamException | |
enum | ErrorCode { ok, flush, write, read, get, internalOstream, internalIstream, featureNotSupported, outOfMemory, invalidParameter, invalidUnicodeEncoding, invalidUTF8Encoding } |
Protected Member Functions inherited from RWxmsg | |
RWxmsg (const char *msg, bool doCopy) | |
Related Functions inherited from RWxmsg | |
#define | RWTHROW(a) |
Exception class used to report an error due to a stream operation partially fulfilled.
RWIncompleteStreamOperation::RWIncompleteStreamOperation | ( | ) |
Constructs an empty exception. Throws no exceptions.
RWIncompleteStreamOperation::RWIncompleteStreamOperation | ( | const char * | msg, |
ErrorCode | err, | ||
RWSize | partial | ||
) |
Constructs an exception, and initializes it with the error message msg, the error code err, and the partial result partial.
msg | Message describing the error. |
err | Error code associated with the error. |
partial | Number of elements successfully processed. |
RWIncompleteStreamOperation::RWIncompleteStreamOperation | ( | const RWCString & | msg, |
ErrorCode | err, | ||
RWSize | partial | ||
) |
Constructs an exception, and initializes it with the error message msg, the error code err, and the partial result partial.
msg | Message describing the error. |
err | Error code associated with the error. |
partial | Number of elements successfully processed. |
RWIncompleteStreamOperation::RWIncompleteStreamOperation | ( | const RWIncompleteStreamOperation & | x | ) |
Copy constructor.
x | An exception used to initialize the newly created exception. |
RWSize RWIncompleteStreamOperation::elementsProcessed | ( | ) | const |
Returns the number of elements successfully processed before the error occurred. Throws no exceptions.
Copyright © 2014 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.