Viskores  1.0
ErrorFilterExecution.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_ErrorFilterExecution_h
19 #define viskores_cont_ErrorFilterExecution_h
20 
21 #include <viskores/cont/Error.h>
22 
23 namespace viskores
24 {
25 namespace cont
26 {
27 
29 
35 class VISKORES_ALWAYS_EXPORT ErrorFilterExecution : public viskores::cont::Error
36 {
37 public:
38  ErrorFilterExecution(const std::string& message)
39  : Error(message, /*is_device_independent=*/true)
40  {
41  }
42 };
43 
45 }
46 } // namespace viskores::cont
47 
48 #endif
viskores::cont::ErrorFilterExecution::ErrorFilterExecution
ErrorFilterExecution(const std::string &message)
Definition: ErrorFilterExecution.h:38
viskores::cont::ErrorFilterExecution
This class is primarily intended to filters to throw in the control environment to indicate an execut...
Definition: ErrorFilterExecution.h:35
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::Error
The superclass of all exceptions thrown by any Viskores function or method.
Definition: Error.h:41