libdigidocpp
|
#include <Exception.h>
Public Member Functions | |
SignException (const std::string &file, int line, const std::string &msg) | |
SignException (const std::string &file, int line, const std::string &msg, const Exception &cause) | |
![]() | |
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 | |
![]() | |
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 |
![]() | |
std::string | file |
std::string | msg |
int | line |
int | m_ddoc |
Causes | causes |
ExceptionCode | m_code |
Sign exception implementation. Thrown if the sign operation fails
Definition at line 108 of file Exception.h.
digidoc::SignException::SignException | ( | 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 154 of file Exception.cpp.
digidoc::SignException::SignException | ( | 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 167 of file Exception.cpp.