#include <UAPException.hpp>
Inherits UAPException.
Inherited by UAPFileCouldNotBeOpened.

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. | |
This class is the general class of exceptions produced by failed or interrupted I/O operations.
Definition at line 104 of file UAPException.hpp.
| 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.
| _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.
| _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 () |
| string UAPIOException::getFile | ( | ) | const |
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.
Definition at line 87 of file UAPException.cpp.
| string UAPIOException::toString | ( | ) | const [virtual] |
Overrides the default toString operator.
Reimplemented from UAPException.
Definition at line 92 of file UAPException.cpp.
1.5.7