10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
JWTParsingException.h
1
#ifndef TENDUKE_JWT_JWTPARSINGEXCEPTION_H
2
#define TENDUKE_JWT_JWTPARSINGEXCEPTION_H
3
4
#include "TendukeException.h"
5
6
#include <string>
7
8
namespace
tenduke
{
namespace
jwt
{
9
10
14
class
JWTParsingException
:
public
tenduke::TendukeException
15
{
16
public
:
22
JWTParsingException
(
const
int
code,
const
std::string &message)
23
:
tenduke
::
TendukeException
(message), code(code)
24
{}
25
30
int
getCode
()
const
{
return
this->code;}
31
32
private
:
33
const
int
code;
34
};
35
36
37
}}
38
39
#endif
// TENDUKE_JWT_JWTPARSINGEXCEPTION_H
JWTParsingException::JWTParsingException
JWTParsingException(const int code, const std::string &message)
Constructs new instance.
Definition
JWTParsingException.h:22
tenduke::TendukeException
Base class for exceptions thrown by 10Duke C++ clients.
Definition
TendukeException.h:13
tenduke::TendukeException::TendukeException
TendukeException(const std::string &message)
Constructs new instance.
Definition
TendukeException.h:19
tenduke::jwt::JWTParsingException::JWTParsingException
JWTParsingException(const int code, const std::string &message)
Constructs new instance.
Definition
JWTParsingException.h:22
tenduke::jwt::JWTParsingException::getCode
int getCode() const
Returns the error code.
Definition
JWTParsingException.h:30
tenduke::jwt
Support for JSON Web Tokens.
Definition
DefaultJWTParser.h:11
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
core
src
jwt
JWTParsingException.h
Generated by
1.17.0