|
libdigidocpp
|
#include <Exception.h>


Public Member Functions | |
| IOException (const std::string &file, int line, const std::string &msg) | |
| IOException (const std::string &file, int line, const std::string &msg, const Exception &cause) | |
Public Member Functions inherited from digidoc::Exception | |
| Exception (const std::string &file, int line, const std::string &msg) | |
| Exception (const std::string &file, int line, const std::string &msg, const Exception &cause) | |
| ExceptionCode | code () const |
| int | ddoc () const |
| std::string | getMsg () const |
| bool | hasCause () const |
| Causes | getCauses () const |
| void | addCause (const Exception &cause) |
| void | setCode (ExceptionCode Code) |
| void | setDDoc (int err) |
Additional Inherited Members | |
Public Types inherited from digidoc::Exception | |
| enum | ExceptionCode { CertificateIssuerMissing = 10, CertificateRevoked = 5, CertificateUnknown = 6, NoException = 0, OCSPResponderMissing = 8, OCSPCertMissing = 9, OCSPTimeSlot = 7, OCSPRequestUnauthorized = 11, PINCanceled = 2, PINFailed = 4, PINIncorrect = 1, PINLocked = 3 } |
| typedef std::vector< Exception > | Causes |
Protected Attributes inherited from digidoc::Exception | |
| std::string | file |
| std::string | msg |
| int | line |
| int | m_ddoc |
| Causes | causes |
| ExceptionCode | m_code |
IO exception implementation. Thrown if IO operations failed.
Definition at line 96 of file Exception.h.
| digidoc::IOException::IOException | ( | const std::string & | file, |
| int | line, | ||
| const std::string & | msg | ||
| ) |
| file | filename, where the exception was thrown. |
| line | line of the file, where the exception was thrown. |
| msg | error message. |
Definition at line 131 of file Exception.cpp.
| digidoc::IOException::IOException | ( | const std::string & | file, |
| int | line, | ||
| const std::string & | msg, | ||
| const Exception & | cause | ||
| ) |
| file | filename, where the exception was thrown. |
| line | line of the file, where the exception was thrown. |
| msg | error message. |
| cause | cause of the exception. |
Definition at line 144 of file Exception.cpp.