IO Exception. More...
#include <rio.h>
Inheritance diagram for RIOException:
Collaboration diagram for RIOException:
Public Member Functions | |
RIOException (const RString &str) | |
RIOException (const RString &func, long where, const RString &str) | |
RIOException (const RFile *file, const RString &str) | |
RIOException (const RFile *file, const RString &func, long where, const RString &str) | |
RIOException (const RIOFile *file, const RString &str) | |
RIOException (const RIOFile *file, const RString &func, long where, const RString &str) | |
RIOException (const RTextFile *file, const RString &str) | |
RIOException (const RTextFile *file, const RString &func, long where, const RString &str) | |
Public Member Functions inherited from RException | |
RException (void) | |
RException (const RString &str) | |
RException (const RString &func, long where, const RString &str) | |
RString | GetMsg (void) const |
virtual | ~RException (void) |
Additional Inherited Members | |
Protected Member Functions inherited from RException | |
void | SetMsg (const RString &str) |
void | SetMsg (const RString &func, long where, const RString &str) |
Protected Attributes inherited from RException | |
RString | Msg |
Detailed Description
IO Exception.
The RIOException class provides a basic representation for an IO exception.
Constructor & Destructor Documentation
RIOException | ( | const RString & | str | ) |
Construct an IO exception.
- Parameters
-
str Message of the error.
RIOException | ( | const RString & | func, |
long | where, | ||
const RString & | str | ||
) |
Construct an exception with the message "func [where]: str". A typical use is:
if(!ptr)
- See also
- The mThrowRIOException marco.
- Parameters
-
func Function producing the error. where Line position of the error. str Message of the error.
RIOException | ( | const RFile * | file, |
const RString & | str | ||
) |
Construct an IO exception.
- Parameters
-
file File process when the error occurs. str Message of the error.
RIOException | ( | const RFile * | file, |
const RString & | func, | ||
long | where, | ||
const RString & | str | ||
) |
Construct an IO exception.
- Parameters
-
file File process when the error occurs. func Function producing the error. where Line position of the error. str Message of the error.
RIOException | ( | const RIOFile * | file, |
const RString & | str | ||
) |
Construct an IO exception.
- Parameters
-
file File process when the error occurs. str Message of the error.
RIOException | ( | const RIOFile * | file, |
const RString & | func, | ||
long | where, | ||
const RString & | str | ||
) |
Construct an IO exception.
- Parameters
-
file File process when the error occurs. func Function producing the error. where Line position of the error. str Message of the error.
RIOException | ( | const RTextFile * | file, |
const RString & | str | ||
) |
Construct an IO exception.
- Parameters
-
file File process when the error occurs. str Message of the error.
RIOException | ( | const RTextFile * | file, |
const RString & | func, | ||
long | where, | ||
const RString & | str | ||
) |
Construct an IO exception.
- Parameters
-
file File process when the error occurs. func Function producing the error. where Line position of the error. str Message of the error.