Web Wispers 1.2.2 C++ Unit Test Coverage |
|
|
|
|
Branch data Line data Source code
1 : : /*
2 : : * Copyright 2006-2009 Savarese Software Research Corporation
3 : : *
4 : : * Licensed under the Apache License, Version 2.0 (the "License");
5 : : * you may not use this file except in compliance with the License.
6 : : * You may obtain a copy of the License at
7 : : *
8 : : * https://www.savarese.com/software/ApacheLicense-2.0
9 : : *
10 : : * Unless required by applicable law or agreed to in writing, software
11 : : * distributed under the License is distributed on an "AS IS" BASIS,
12 : : * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 : : * See the License for the specific language governing permissions and
14 : : * limitations under the License.
15 : : */
16 : :
17 : : /**
18 : : * @file
19 : : * This header defines the LoadError class.
20 : : */
21 : :
22 : : #ifndef __SSRC_WSPR_UTILITY_LOAD_ERROR_H
23 : : #define __SSRC_WSPR_UTILITY_LOAD_ERROR_H
24 : :
25 : : #include <stdexcept>
26 : :
27 : : #include <ssrc/wispers-packages.h>
28 : :
29 : : __BEGIN_NS_SSRC_WSPR_UTILITY
30 : :
31 [ # # ]: 0 : struct LoadError : public std::runtime_error {
32 : 0 : explicit LoadError(const std::string & message) :
33 : 0 : std::runtime_error(message)
34 : 0 : { }
35 : : };
36 : :
37 : : __END_NS_SSRC_WSPR_UTILITY
38 : :
39 : : #endif
|
Copyright © 2017 Savarese Software Research Corporation. All rights reserved