Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
644abe9f
Unverified
Commit
644abe9f
authored
Sep 06, 2021
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-4586 Add exit requested exception
parent
61b4ac93
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
0 deletions
+64
-0
ExitRequestedException.cpp
ExitRequestedException.cpp
+32
-0
ExitRequestedException.h
ExitRequestedException.h
+32
-0
No files found.
ExitRequestedException.cpp
0 → 100644
View file @
644abe9f
/*
Copyright (C) 2019-Present SKALE Labs
This file is part of sgxwallet.
skale-consensus is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
skale-consensus is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with skale-consensus. If not, see <https://www.gnu.org/licenses/>.
@file ExitRequestedException.cpp
@author Stan Kladko
@date 2018
*/
#include "common.h"
#include "Log.h"
#include "ExitRequestedException.h"
ExitRequestedException
::
ExitRequestedException
(
const
std
::
string
&
_message
,
const
string
&
_className
)
:
Exception
(
_message
,
_className
)
{
fatal
=
false
;
}
ExitRequestedException.h
0 → 100644
View file @
644abe9f
/*
Copyright (C) 2019-Present SKALE Labs
This file is part of sgxwallet.
skale-consensus is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
skale-consensus is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with skale-consensus. If not, see <https://www.gnu.org/licenses/>.
@file ExitRequestedException.h
@author Stan Kladko
@date 2018
*/
#pragma once
#include "Exception.h"
class
ExitRequestedException
:
public
Exception
{
public
:
ExitRequestedException
(
const
std
::
string
&
_message
,
const
std
::
string
&
_className
);
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment