#include <exception.h>

Public Member Functions | |
| PsiException (std::string message, const char *file, int line) throw () | |
| PsiException (const PsiException ©) throw () | |
| PsiException & | operator= (const PsiException &other) |
| const char * | what () const throw () |
| const char * | file () const throw () |
| const char * | location () const throw () |
| int | line () const throw () |
Protected Member Functions | |
| void | rewrite_msg (std::string msg) throw () |
| psi::PsiException::PsiException | ( | std::string | message, | |
| const char * | file, | |||
| int | line | |||
| ) | throw () |
Constructor
| message | The message that will be printed by exception | |
| file | The file that threw the exception (use __FILE__ macro) | |
| line | The line number that threw the exception (use __LINE__ macro) |
| void psi::PsiException::rewrite_msg | ( | std::string | msg | ) | throw () [protected] |
Override default message for exception throw in what
| msg | The message for what to throw |
| const char * PsiException::what | ( | ) | const throw () |
Override of runtime_error's virtual what method
| const char * PsiException::file | ( | ) | const throw () |
Accessor method
| const char * PsiException::location | ( | ) | const throw () |
Accessor method
| int PsiException::line | ( | ) | const throw () |
Accessor method
1.5.6