Public Member Functions | Public Attributes | Private Member Functions

alize::IOException Class Reference

#include <Exception.h>

Inheritance diagram for alize::IOException:
Inheritance graph
[legend]
Collaboration diagram for alize::IOException:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IOException (const String &msg, const String &sourceFile, int line, const FileName &f)
 IOException (const String &msg, const String &sourceFile, int line, const FileName &f, const String callerName)
 IOException (const IOException &)
virtual ~IOException ()
virtual String toString () const
virtual String getClassName () const

Public Attributes

const FileName fileName

Private Member Functions

bool operator== (const IOException &) const
bool operator!= (const IOException &e) const
const IOExceptionoperator= (const IOException &)

Detailed Description

Signals that an I/O exception of some sort has occurred. This class is the general class of exceptions produced by failed or interrupted I/O operations.

Author:
Frederic Wils frederic.wils@lia.univ-avignon.fr
Version:
1.0
Date:
2003

Definition at line 168 of file Exception.h.


Constructor & Destructor Documentation

IOException::IOException ( const String msg,
const String sourceFile,
int  line,
const FileName f 
) [explicit]

Definition at line 229 of file Exception.cpp.

IOException::IOException ( const String msg,
const String sourceFile,
int  line,
const FileName f,
const String  callerName 
) [explicit]

Definition at line 233 of file Exception.cpp.

IOException::IOException ( const IOException e )

Definition at line 237 of file Exception.cpp.

IOException::~IOException (  ) [virtual]

Definition at line 245 of file Exception.cpp.


Member Function Documentation

String IOException::getClassName (  ) const [virtual]

Returns the name of the class

Returns:
the name of the class of the object as a String

Reimplemented from alize::Exception.

Reimplemented in alize::InvalidDataException, alize::FileNotFoundException, and alize::EOFException.

Definition at line 243 of file Exception.cpp.

bool alize::IOException::operator!= ( const IOException e ) const [private]

Not implemented

const IOException& alize::IOException::operator= ( const IOException  ) [private]

Not implemented

bool alize::IOException::operator== ( const IOException  ) const [private]
String IOException::toString (  ) const [virtual]

This method is frequently overridden in the derived classes. If it is not, it returns the name of the class of the object and the address of the object

Returns:
a description of the object

Reimplemented from alize::Exception.

Definition at line 240 of file Exception.cpp.

References fileName.


Member Data Documentation

Definition at line 179 of file Exception.h.

Referenced by toString().


The documentation for this class was generated from the following files: