UAPIOException Class Reference

Signals that an I/O exception of some sort has occurred. More...

#include <UAPException.hpp>

Inherits UAPException.

Inherited by UAPFileCouldNotBeOpened.

Collaboration diagram for UAPIOException:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 UAPIOException (const std::string &_message="Unspecified exception", const std::string &_file="Unspecified file name", int _line=0)
 Constructs an UAPIOException with the specified detail message, the name of the file and the line number.
 UAPIOException (const std::string &_message, const std::string &_file, int _line, const UAPException &_cause)
 Constructs an UAPIOException with the specified detail message, the name of the file and the line number.
 ~UAPIOException () throw ()
 Destructor.
std::string getFile () const
 Returns the name of the file where this exception occurred.
int getLineNumber () const
 Returns the line number in the file where this exception occurred.
std::string toString () const
 Overrides the default toString operator.


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.

See also:
UAPException

Definition at line 104 of file UAPException.hpp.


Constructor & Destructor Documentation

UAPIOException::UAPIOException ( const std::string &  _message = "Unspecified exception",
const std::string &  _file = "Unspecified file name",
int  _line = 0 
)

Constructs an UAPIOException with the specified detail message, the name of the file and the line number.

Parameters:
_message the detail message (default: "Unspecified exception")
_file the file (default: "Unspecified file name")
_line the line number (default: 0)

Definition at line 72 of file UAPException.cpp.

UAPIOException::UAPIOException ( const std::string &  _message,
const std::string &  _file,
int  _line,
const UAPException _cause 
)

Constructs an UAPIOException with the specified detail message, the name of the file and the line number.

Parameters:
_message the detail message
_file the file
_line the line number
_cause the cause

Definition at line 76 of file UAPException.cpp.

UAPIOException::~UAPIOException (  )  throw ()

Destructor.

Definition at line 80 of file UAPException.cpp.


Member Function Documentation

string UAPIOException::getFile (  )  const

Returns the name of the file where this exception occurred.

Returns:
the name of the file where this exception occurred.

Definition at line 82 of file UAPException.cpp.

int UAPIOException::getLineNumber (  )  const

Returns the line number in the file where this exception occurred.

Returns:
the line number in the file where this exception occurred.

Definition at line 87 of file UAPException.cpp.

string UAPIOException::toString (  )  const [virtual]

Overrides the default toString operator.

See also:
UAPException::toString

Reimplemented from UAPException.

Definition at line 92 of file UAPException.cpp.


Generated on Fri Feb 12 15:47:58 2010 for Universal Accelerator Parser by  doxygen 1.5.7