rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWIncompleteStreamOperation Class Reference
[Streams]

Reports errors due to an incomplete stream operation. More...

#include <rw/stream/RWIncompleteStreamOperation.h>

Inheritance diagram for RWIncompleteStreamOperation:
RWExternalStreamException RWExternalErr RWxmsg

List of all members.

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

Detailed Description

Exception class used to report an error due to a stream operation partially fulfilled.


Constructor & Destructor Documentation

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.

Parameters:
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.

Parameters:
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.

Parameters:
x An exception used to initialize the newly created exception.

Member Function Documentation

RWSize RWIncompleteStreamOperation::elementsProcessed (  )  const

Returns the number of elements successfully processed before the error occurred. Throws no exceptions.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© Copyright 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.
Contact Rogue Wave about documentation or support issues.