SourcePro® 2024.1 |
SourcePro® API Reference Guide |
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 |
Public Member Functions inherited from RWxmsg | |
| RWxmsg (const char *msg) | |
| RWxmsg (const RWxmsg &msg) | |
| RWxmsg (RWxmsg &&msg) | |
| RWxmsg & | operator= (const RWxmsg &) |
| RWxmsg & | operator= (RWxmsg &&msg) |
| virtual void | raise () const |
| void | swap (RWxmsg &rhs) |
| virtual const char * | why () 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 Symbols 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 © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |