Cross-Platform C++

ot::io
class IOException

#include "ot/io/IOException.h"

ot::Exception ot::io::AtomicReadException ot::io::CharacterCodingException ot::io::ExistingFileException ot::io::FileNotFoundException ot::io::InterruptedIOException ot::io::UnsupportedEncodingException ot::net::ProtocolException ot::net::SocketException ot::net::UnknownHostException Base class for general IO exceptions. Objects of this class or derived classes are thrown when an error occurs during an I/O operation.




Constructor/Destructor Summary
IOException()
         Constructs an IOException without a detail message.
IOException(const String& message)
         Constructs an IOException with a detail message.

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

Methods inherited from class ot::Exception
getDescription, getLocalizedDescription, getMessage, setMessage, toString

Constructor/Destructor Detail

IOException

 IOException()
Constructs an IOException without a detail message.


IOException

 IOException(const String& message)
Constructs an IOException with a detail message.

Parameters:
message - the detail message.

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-2003 ElCel Technology   Trademark Acknowledgements