Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

AMOS::IOException_t Class Reference

An exception for IO errors. More...

#include <exceptions_AMOS.hh>

Inheritance diagram for AMOS::IOException_t:

Inheritance graph
[legend]
Collaboration diagram for AMOS::IOException_t:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IOException_t (const std::string &what, int line=0, const std::string &file=NULL_STRING)
 Informative constructor.
virtual const char * file () const
 Returns the file (if available) of the exception.
virtual int line () const
 Returns the line number (if available) of the exception.
virtual const char * what () const throw ( )
 Returns a short description (if available) of the exception.

Detailed Description

An exception for IO errors.

Usually thrown when an IO attempt fails or has severe warnings. The reason for the exception can be retrieved with the what( ) function inherited from the Exception_t class.

Definition at line 225 of file exceptions_AMOS.hh.


Constructor & Destructor Documentation

AMOS::IOException_t::IOException_t const std::string &  what,
int  line = 0,
const std::string &  file = NULL_STRING
[inline]
 

Informative constructor.

Parameters:
what Brief description of the exception
line Line number of the exception
file File name of the exception
Definition at line 237 of file exceptions_AMOS.hh.


Member Function Documentation

virtual const char* AMOS::Exception_t::file  )  const [inline, virtual, inherited]
 

Returns the file (if available) of the exception.

Definition at line 67 of file exceptions_AMOS.hh.

Referenced by AMOS::Exception_t::Exception_t().

virtual int AMOS::Exception_t::line  )  const [inline, virtual, inherited]
 

Returns the line number (if available) of the exception.

Definition at line 76 of file exceptions_AMOS.hh.

virtual const char* AMOS::Exception_t::what  )  const throw ( ) [inline, virtual, inherited]
 

Returns a short description (if available) of the exception.

Definition at line 85 of file exceptions_AMOS.hh.


The documentation for this class was generated from the following file:
Generated on Tue May 17 15:19:45 2005 for libAMOS by doxygen 1.3.8