Viskores  1.0
ErrorInternal.h
Go to the documentation of this file.
1 //============================================================================
2 // The contents of this file are covered by the Viskores license. See
3 // LICENSE.txt for details.
4 //
5 // By contributing to this file, all contributors agree to the Developer
6 // Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7 //============================================================================
8 
9 //============================================================================
10 // Copyright (c) Kitware, Inc.
11 // All rights reserved.
12 // See LICENSE.txt for details.
13 //
14 // This software is distributed WITHOUT ANY WARRANTY; without even
15 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 // PURPOSE. See the above copyright notice for more information.
17 //============================================================================
18 #ifndef viskores_cont_ErrorInternal_h
19 #define viskores_cont_ErrorInternal_h
20 
21 #include <viskores/cont/Error.h>
22 
23 namespace viskores
24 {
25 namespace cont
26 {
27 
29 
34 class VISKORES_ALWAYS_EXPORT ErrorInternal : public Error
35 {
36 public:
37  ErrorInternal(const std::string& message)
38  : Error(message)
39  {
40  }
41 };
42 
44 }
45 } // namespace viskores::cont
46 
47 #endif //viskores_cont_ErrorInternal_h
viskores
Groups connected points that have the same field value.
Definition: Atomic.h:27
Error.h
VISKORES_SILENCE_WEAK_VTABLE_WARNING_END
#define VISKORES_SILENCE_WEAK_VTABLE_WARNING_END
Definition: ExportMacros.h:128
VISKORES_SILENCE_WEAK_VTABLE_WARNING_START
#define VISKORES_SILENCE_WEAK_VTABLE_WARNING_START
Definition: ExportMacros.h:127
viskores::cont::ErrorInternal::ErrorInternal
ErrorInternal(const std::string &message)
Definition: ErrorInternal.h:37
viskores::cont::ErrorInternal
This class is thrown when Viskores detects an internal state that should never be reached.
Definition: ErrorInternal.h:34
viskores::cont::Error
The superclass of all exceptions thrown by any Viskores function or method.
Definition: Error.h:41