Cross-Platform C++

ot::io
class EOFException

#include "ot/io/EOFException.h"

ot::io::IOException ot::Exception Thrown when an unexpected end of file condition is reached. This exception is used by data input streams, which normally relate to binary files written in a specific format. For these streams an unexpected end of stream is an error condition.

Most other input streams return a special enumerated value on end of stream rather than throwing an exception.

See also:
DataInput



Constructor/Destructor Summary
EOFException(const String& message)
         Constructs an EOFException with a detail message and a decoder.

Method Summary
 virtual String getExceptionType() const
         Returns the class name as a String.

Methods inherited from class ot::Exception
getDescription(), getLocalizedDescription(), getMessage(), setMessage(const String&), toString()

Constructor/Destructor Detail

EOFException

 EOFException(const String& message)
Constructs an EOFException with a detail message and a decoder.

Parameters:
message - the detail message
pDecoder - the CodeConverter giving rise to the exception

Method Detail

getExceptionType

virtual String getExceptionType() const
Returns the class name as a String. This method should be overridden in all derived classes to return the name of the derived class.

See also:
getDescription()


Cross-Platform C++

Found a bug or missing feature? Please email us at support@elcel.com

Copyright © 2000-2005 ElCel Technology   Trademark Acknowledgements