exception.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017 Intel 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  * http://www.apache.org/licenses/LICENSE-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 
18 
19 namespace movidius_ncs_lib
20 {
21 
22 const char* MvncHighThermal::what() const noexcept
23 {
24  return "lower guard temperature threshold is reached, short throtting is in action";
25 }
26 
27 const char* MvncAggressiveThermal::what() const noexcept
28 {
29  return "upper guard temperature threshold is reached, long throtting is in action";
30 }
31 
32 const char* NCSGraphFileError::what() const noexcept
33 {
34  return "cannot load graph";
35 }
36 
37 const char* NCSMeanAndStddevError::what() const noexcept
38 {
39  return "cannot load mean and stddev";
40 }
41 
42 const char* NCSInputSizeFileError::what() const noexcept
43 {
44  return "cannot open inputsize file";
45 }
46 
47 const char* NCSInputSizeError::what() const noexcept
48 {
49  return "cannot load inputsize";
50 }
51 
52 const char* NCSLoadCategoriesError::what() const noexcept
53 {
54  return "cannot load categories";
55 }
56 } // namespace movidius_ncs_lib
const char * what() const noexcept
Definition: exception.cpp:47
const char * what() const noexcept
Definition: exception.cpp:37
const char * what() const noexcept
Definition: exception.cpp:32
const char * what() const noexcept
Definition: exception.cpp:42
const char * what() const noexcept
Definition: exception.cpp:27
const char * what() const noexcept
Definition: exception.cpp:52
const char * what() const noexcept
Definition: exception.cpp:22


movidius_ncs_lib
Author(s): Xiaojun Huang
autogenerated on Mon Jun 10 2019 14:11:23