|
Jive reference manual
|
Signals an I/O error. More...
#include <jem/io/IOException.h>

Public Member Functions | |
| IOException (const String &place="", const String &msg="") | |
Constructs an IOException instance. More... | |
| virtual String | name () const |
| Returns the class name of this exception. More... | |
Public Member Functions inherited from jem::Exception | |
| Exception (const String &place=String(), const String &msg=String()) | |
Creates an Exception instance. More... | |
Public Member Functions inherited from jem::Throwable | |
| Throwable (const String &place=String(), Const String &msg=String()) | |
Creates a new Throwable instance. More... | |
| Throwable (const Throwable &rhs) | |
Creates a copy of another Throwable instance. More... | |
| ~Throwable () | |
| Destructor. More... | |
| virtual String | where () const |
Returns a string describing the context in which this Throwable was thrown. More... | |
| virtual String | what () const |
Returns a string describing why this Throwable was thrown. More... | |
The IOException class is thrown when an I/O error occurs. Well-behaved applications should catch and handle IOException instances.
Constructs an IOException instance given a context and message string.
| place | - a string describing the context in which this exception was thrown. |
| msg | - a string describing why this exception was thrown. |
|
virtual |
Returns the full class name – including namespaces – of this Throwable instance. This function should be overriden by derived classes. For instance, a class named flip::FlopException should return the string "flip::FlopException".
Reimplemented from jem::Exception.
Reimplemented in jem::io::EOFException, jem::io::FileOpenException, jem::io::IOverflowException, jem::io::SerializationException, jem::io::SyncFailedException, and jem::io::ZipException.