An exception class used by G::Pam. More...
#include <gpam.h>
Public Member Functions | |
| Error (const std::string &op, int pam_error) | |
| Error (const std::string &op, int pam_error, const char *) | |
Public Member Functions inherited from G::Exception | |
| Exception () | |
| Default constructor. More... | |
| Exception (const char *what) | |
| Constructor. More... | |
| Exception (const std::string &what) | |
| Constructor. More... | |
| Exception (const char *what, const std::string &more) | |
| Constructor. More... | |
| Exception (const std::string &what, const std::string &more) | |
| Constructor. More... | |
| Exception (const std::string &what, const std::string &more1, const std::string &more2) | |
| Constructor. More... | |
| virtual | ~Exception () throw () |
| Destructor. More... | |
| virtual const char * | what () const throw () |
| Override from std::exception. More... | |
| void | prepend (const char *context) |
| Prepends context to the what string. More... | |
| void | append (const char *more) |
| Appends 'more' to the what string. More... | |
| void | append (const std::string &more) |
| Appends 'more' to the what string. More... | |
Public Attributes | |
| int | m_pam_error |
Additional Inherited Members | |
Protected Attributes inherited from G::Exception | |
| std::string | m_what |
| G::Pam::Error::Error | ( | const std::string & | op, |
| int | pam_error | ||
| ) |
Definition at line 27 of file gpam.cpp.
References G::Exception::append(), G::Str::fromInt(), G_DEBUG, and G::Exception::m_what.
| G::Pam::Error::Error | ( | const std::string & | op, |
| int | pam_error, | ||
| const char * | more | ||
| ) |
Definition at line 36 of file gpam.cpp.
References G::Exception::append(), G::Str::fromInt(), G_DEBUG, and G::Exception::m_what.
1.8.9.1