libStatGen Software
1
|
GlfException objects should be thrown by functions that operate on Glf files for exceptions. More...
#include <GlfException.h>
Public Member Functions | |
GlfException () | |
Constructor that sets the exception to a default status and error message. | |
GlfException (const std::string &what_arg) | |
Constructor that sets the exception to a default status and the specified error message. More... | |
GlfException (GlfStatus::Status status, const std::string &errorMsg) | |
Constructor that sets the exception to the specified status and error message. More... | |
GlfException (const GlfStatus &status) | |
Constructor that sets the exception to the specified status. More... | |
virtual const char * | what () const throw () |
Returns the error message of this exception. More... | |
GlfException objects should be thrown by functions that operate on Glf files for exceptions.
Definition at line 27 of file GlfException.h.
GlfException::GlfException | ( | const std::string & | what_arg | ) |
Constructor that sets the exception to a default status and the specified error message.
what_arg | error message associated with this exception. |
Definition at line 27 of file GlfException.cpp.
References GlfStatus::setStatus(), and GlfStatus::UNKNOWN.
GlfException::GlfException | ( | GlfStatus::Status | status, |
const std::string & | errorMsg | ||
) |
Constructor that sets the exception to the specified status and error message.
status | glf status associated with this exception. |
errorMsg | error message associated with this exception. |
Definition at line 33 of file GlfException.cpp.
References GlfStatus::setStatus().
GlfException::GlfException | ( | const GlfStatus & | status | ) |
Constructor that sets the exception to the specified status.
status | glf status associated with this exception. |
Definition at line 40 of file GlfException.cpp.
References GlfStatus::addError().
|
virtual |
Returns the error message of this exception.
Definition at line 50 of file GlfException.cpp.
References GlfStatus::getStatusMessage().