Viskores  1.0
ErrorIO.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_io_ErrorIO_h
19 #define viskores_io_ErrorIO_h
20 
21 #include <viskores/cont/Error.h>
22 
23 namespace viskores
24 {
25 namespace io
26 {
27 
29 
33 class VISKORES_ALWAYS_EXPORT ErrorIO : public viskores::cont::Error
34 {
35 public:
36  ErrorIO() {}
37  ErrorIO(const std::string message)
38  : Error(message)
39  {
40  }
41 };
42 
44 }
45 } // namespace viskores::io
46 
47 #endif //viskores_io_ErrorIO_h
viskores::io::ErrorIO::ErrorIO
ErrorIO()
Definition: ErrorIO.h:36
viskores::io::ErrorIO::ErrorIO
ErrorIO(const std::string message)
Definition: ErrorIO.h:37
viskores
Groups connected points that have the same field value.
Definition: Atomic.h:27
viskores::io::ErrorIO
This class is thrown when Viskores encounters an error with the file system.
Definition: ErrorIO.h:33
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