ot::io
class EOFException
#include "ot/io/EOFException.h"
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. |
| 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
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()
Found a bug or missing feature? Please email us at support@elcel.com