#include <IOException.h++>


Public Member Functions | |
| IOException (String message=String::empty) | |
| Construct a new IOException with an optional cause message. | |
| virtual void | write (std::ostream &stream) const |
| Write a textual representation of the exception to a stream. | |
| String | getMessage () const throw () |
| Get the message associated with the exception. | |
| const char * | what () const throw () |
| Get the message associated with the exception. | |
| String | toString () const |
| Get a textual representation of the exception as a String. | |
Protected Member Functions | |
| void | _write (std::ostream &stream, const char *name) const |
Protected Attributes | |
| String | _message |
| The cause message. | |
| IOException | ( | String | message = String::empty |
) |
Construct a new IOException with an optional cause message.
| void _write | ( | std::ostream & | stream, | |
| const char * | name | |||
| ) | const [protected, inherited] |
| String getMessage | ( | ) | const throw () [inline, inherited] |
Get the message associated with the exception.
| String toString | ( | ) | const [inline, inherited] |
Get a textual representation of the exception as a String.
| const char* what | ( | ) | const throw () [inline, inherited] |
Get the message associated with the exception.
| virtual void write | ( | std::ostream & | stream | ) | const [inline, virtual] |
Write a textual representation of the exception to a stream.
Reimplemented from Exception.
Reimplemented in DataFormatException, HostNotFoundException, EOFException, TimeoutException, PathNotFoundException, SocketException, SocketIOException, ConnectionRefusedException, AddressInUseException, and SQLException.
1.5.9